Re:Where are the self-tuning systems?
by TheLoneWolfling on Sunday May 31, 2015 @03:24PM
(#9635215)
A tangentially related optimization:
When you read a value from a collection, move it towards the front.
Requires that order not be important, of course. Ditto, it's more trouble than it's generally worth if you're doing any sort of multithreading, or if you're using something where writes are much slower than reads.
It's also handy for most hash tables. (Though generally you should be using a Cuckoo hashtable anyways)
When you read a value from a collection, move it towards the front.
Requires that order not be important, of course. Ditto, it's more trouble than it's generally worth if you're doing any sort of multithreading, or if you're using something where writes are much slower than reads.
It's also handy for most hash tables. (Though generally you should be using a Cuckoo hashtable anyways)