Comments (5)
Yes, that can be done. I am a bit overloaded the next week. Any chance you can open a PR for this?
Looking at the replies in the thread, Wojciech's variant looks great. We just need to adjust the style, remove loop unrolling, and add references to the original.
from simsimd.
I'm not proficient at C or C++. Would rather let someone more experienced to do the job (if that's ok).
from simsimd.
Hello Both,
I believe libpopcnt.h has all AVX implementations of popcount: https://github.com/kimwalisch/libpopcnt
There is not need to implement an additional one. However, I think include it into this library can be useful.
Jianshu
from simsimd.
🎉 This issue has been resolved in version 3.9.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
from simsimd.
It's a good idea to add popcount, and libpopcnt
looks nice, but we only need one routine for AVX2 Harley Seal transform. Would be easier to add those few lines of C code, than to add the first dependency update all of CI. Coincidently, ClickHouse and other users have expressed interest in bit-level operations, so I'm definitely open to PRs 🤗
from simsimd.
Related Issues (20)
- Sparse Distances
- main-dev tests main? HOT 3
- Will not work in a Vercel instance HOT 24
- Jaccard in parallel? simsimd.cdist HOT 5
- Disabling usage of AVX-512 instructions HOT 8
- Golang: '_Float16' is not supported on this target HOT 4
- simsimd not working on AWS Lambda public image HOT 20
- Complex vectors for Fourier representations, Image processing, DSP, and Quantum states HOT 1
- Packaging SIMD code in Windows bindings HOT 2
- Plan for BF16 datatype ? HOT 1
- Expose binary distances and divergence functions in Rust HOT 4
- Can't install on institutional linux cluster HOT 6
- Generalizing to complex dot-products and cosine distances for Physics and DSP
- Add covariance estimators
- simsimd_avx512_i8_cos under vnni HOT 8
- How to work with OutputDistances object? HOT 5
- AttributeError: module 'SimSIMD' has no attribute 'cosine' HOT 6
- Need clarity HOT 1
- I want to add the simsimd to xmake's package management tool and have encountered some error. 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 simsimd.