3 ms·
Sure.. exponential back-off for trying to get my son to sleep at night. Didn't work. Mark & Sweep Garbage Collection for my desk. Commonly used stuff stays on
by nl 16y ago
Sure.. exponential back-off for trying to get my son to sleep at night. Didn't work.
Mark & Sweep Garbage Collection for my desk. Commonly used stuff stays on the top, and then I periodically pause for garbage collection where I drop the lower layers into a draw. Occasionally I do survivor generation compaction, too.
When doing washing, I always build an index by hanging it out in order, so then putting it away can utilize the index (in English - I put pairs of socks together when I hang them out, so when I bring them in they are already paired)