From: Jeff R. <dv...@di...> - 2012-10-10 17:27:56
|
Stephen Deasey wrote: > How are you planing to use these key/value structures? [...] > Or maybe you're trying to recreate PHP's do-everything hash-list > container... :-) Honestly, it's just something that has bugged me - a data structure with O(n) performance?! This cannot stand! But as a practical matter, in the typical use cases, the constant factor is low enough that it's simply not an issue. Saving 30 microseconds per request isn't going to make a difference in any real-world application. I'll stash my half-written code away for another day, in case someone ever loses a microsecond or two :) -J |