in reply to Re^3: Don't-Repeat-Myself code for improvement (foo foo)
in thread Don't-Repeat-Myself code for improvement

No. My solution uses one DB record per ID. I don't try to store in a DB all possible permutations. I just put one record per item in the DB and "permute" their initial order, such as by setting the "lastused" field for each record to be some random time of day "yesterday", as I mentioned.

- tye        

  • Comment on Re^4: Don't-Repeat-Myself code for improvement (foo foo)