Comments (2)
Hey @source-transformer! Thanks for submitting this issue.
SwissMap, like SwissTable, is designed around the SSE instruction set, which is x86-specific. The dependency you mentioned above, thepudds/swisstable
, is another Swiss Table implementation in Go. I included it in the tests as a benchmarking comaprison, but it seems to only support x86/amd64 platforms. If your machine is amd64, you shouldn't have an issue, but if you're using a newer mac, you may be running on Arm64 and thepudds/swisstable
will break. Do you mind running this to confirm?
go env GOARCH
For non-x86 platforms, this repo has a fallback implementation without SIMD instructions. Given that the thepudds
implementation does not, I should probably remove it as a dependency.
from swiss.
right you are - I'll give the fallback implementation a try when I next take a look at this.
Thanks!
from swiss.
Related Issues (14)
- [feature request] generic over the hash function HOT 5
- 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() only clears crtl and doesn't clear the groups HOT 1
- Clear() does not compile HOT 1
- Incorrect result? HOT 2
- Broken link in the ReadMe HOT 1
- how's the memory in bytes allocation? how much garbage does it generate? 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.