"The Google SparseHash project contains several hash-map implementations in use at Google, with different performance characteristics, including an implementation that optimizes for space and one that optimizes for speed. The memory-optimized one is extremely memory-efficient with only 2 bits/entry of overhead."
http://code.google.com/p/google-sparsehash/
Hash table
Hash table
Damien Gerard
Ta3d & Yuni Developer
Ta3d & Yuni Developer
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
the later looks really interesting since it's already used in popular software (compared to google's hash-map implementations which seems unfinished yet).
For example unit categories are mostly known but we use a hash map so we can add new ones without even changing a single line of code, and it could benefit from this . But I think we should keep that for final optimizations ... there are lots of things to optimize first like loading time which is already much shorter than before
For example unit categories are mostly known but we use a hash map so we can add new ones without even changing a single line of code, and it could benefit from this . But I think we should keep that for final optimizations ... there are lots of things to optimize first like loading time which is already much shorter than before
=>;-D Penguin Powered
Who is online
Users browsing this forum: No registered users and 8 guests