3 ms·
Has anyone ever run a native application with compressed pointers, rather than just 32 bit pointers?
by chrisseaton 8y ago
Has anyone ever run a native application with compressed pointers, rather than just 32 bit pointers?
- AstralStorm 8y agoDo you mean like compressed code? The hit is way bigger than gains.
- jmalicki 8y agoThe value in the pointer is an index into an array of 64bit ints rather than bytes. This lets you address 32GB with a 32bit pointer rather than 4GB.
- AnIdiotOnTheNet 8y agoOne wonders if the time might come when it won't be. Cache is so important to performance that one can imagine some hardware level compression might actually be faster than uncompressed code and data simply because more stuff can be in the cache.