4 ms·
To refine: popular compilers don't do much about poor locality. It's very possible do this but you need the language to permit it and the compiler engineering d
by fulafel 10y ago
To refine: popular compilers don't do much about poor locality. It's very possible do this but you need the language to permit it and the compiler engineering done. Data optimizations have for some reason received too litlte attention for a long time.
For example, most key-value dictionaries could shave off 50-90% of their memory use if the value ranges and key counts were optimized for, along with unboxing.
- deleted 10y ago[deleted]