Comments (2)
Hello,
You're correct in your observations. The map behaves in the same way as std::unordered_map
and thus never shrinks except if rehash(0)
is explicitly called.
It would be possible for me to implement a min_load_factor
similar to google::sparse_hash_map
and spp::sparse_hash_map
if needed.
from sparse-map.
Thanks for the response.
I'm closing the issue.
from sparse-map.
Related Issues (11)
- Question about sparse_hash::find_impl. HOT 5
- conan package HOT 2
- STL like extract HOT 3
- Supporting lambdas HOT 1
- Template mismatch with std::unordered_map HOT 2
- Support systems without exceptions
- [feature request] Support for serialization HOT 5
- it->first/second are always const HOT 1
- Range iteration is always const
- "conditional expression is constant" warnings due to using `if` where `if constexpr` is appropriate HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparse-map.