hash table question - 27/08/10 09:41 PM
I have been trying to solve a problem a while now, i got items stored in a table the format is:
hadd table date. $+ $nick $date
This add the nick with a date in the table, and i want to remove the last one if the table is full. the table can hold 1000 items, and so far i have 786 stored items, how can i remove the oldest item so the table wont be full when im up to 1000 and i want to add one more, maybe somone have a bether idea then the use of $date ..
hadd table date. $+ $nick $date
This add the nick with a date in the table, and i want to remove the last one if the table is full. the table can hold 1000 items, and so far i have 786 stored items, how can i remove the oldest item so the table wont be full when im up to 1000 and i want to add one more, maybe somone have a bether idea then the use of $date ..