Sapphire Cat (sapphirecat) wrote in lj_dev, 2001-09-17 14:14:00 Sapphire Cat sapphirecat lj_dev 2001-09-17 14:14:00 Previous Share Flag Next Can a client assume that the mood ID's are contiguous in the cache? If so, it'd be more efficient to tell the highest cached mood ID by simply counting the elements in the hash, instead of running through the values looking for the highest. Subscribe Post a new comment Error Anonymous comments are disabled in this journal We will log you in after post We will log you in after post We will log you in after post We will log you in after post We will log you in after post Anonymously switch LiveJournal Facebook Twitter OpenId Google MailRu VKontakte Anonymously default userpic Your reply will be screened Your IP address will be recorded Post a new comment Preview comment Help 2 comments Post a new comment 2 comments
Can a client assume that the mood ID's are contiguous in the cache? If so, it'd be more efficient to tell the highest cached mood ID by simply counting the elements in the hash, instead of running through the values looking for the highest.