Comments (1)
@rkerno Thanks for the bug report! I've gone ahead and updated the test and pushed a fix for the Clear() implementation. No optimizations there yet --- I agree that keeping an empty metadata around and using that as the right hand argument in the assignments when we need it would be more efficient. Hopefully I can get back to that soon.
from swiss.
Related Issues (20)
- Could swiss add method Clear()? HOT 1
- The performance of swiss Get() is worse than go map at capacity 1~500.
- Add Keys() and other maps method
- Can Iter function return a boolean if it's stopped? HOT 1
- Add a PutWithHash() method to avoid unnecessary hash calculation
- could you help provide a performance benchmark comparison between the map in official Go library and your swiss table HOT 1
- Clear() does not compile HOT 1
- Add RandomGet() or GetPos(uint64) to fetch random data
- report problems HOT 2
- Advice: I think there are many ways to make go-swiss better HOT 2
- change struct define of `group` might be improve cpu cache hit
- using `uint64` for number of elements
- Ability to import and export maps
- Any benchmark comparison against cockroachdb's swiss map?
- is there a mmap version of swiss map?
- Broken link in the ReadMe HOT 1
- how's the memory in bytes allocation? how much garbage does it generate? HOT 2
- Getting Error in Usage of swisstable HOT 2
- Is swiss concurrency safe? HOT 3
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 swiss.