[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Collections need: Array Map?
From: |
Marcus G. Daniels |
Subject: |
Re: Collections need: Array Map? |
Date: |
01 May 2002 09:07:54 -0600 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7 |
>>>>> "PJ" == Paul Johnson <address@hidden> writes:
PJ> Now the question my colleague asks is, "can you give me the 3 most
PJ> recently altered (created/updated) records."
How about an array (in the C sense) ivar in the class that
maintains the records? Take the count of the records % 3, and use
that as an index into the array for the cache of updated records.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.