3 ms·
In my actual work, optimizing in memory searches is not worthwhile Funnily enough, I had to do this last week. We started from the question "why does it take 1
by pjc50 10y ago
In my actual work, optimizing in memory searches is not worthwhile
Funnily enough, I had to do this last week. We started from the question "why does it take 160ms to scan 60,000 objects in memory?" and reached the disappointing conclusion that, on this particular platform (iMX6/800MHz/DDR3) a cache miss costs you an astonishing 233ns. I got as far as double-checking all the RAM initialisation parameters before giving up.
There is now an index on the in-memory search.