Comments (2)
Hi @ossdev07, I think there are two different points in your message, so I will address them separately.
Regarding the title of this ticket: our package doesn't currently support the optional ARMv8 crc32c instructions, mainly because we haven't had a use case that has pushed us to add it. However we'd be more than happy to accept such contribution, and make the package hardware-based implementation more generic rather than Intel-specific.
Regarding the selection of the software-based solution, this is mostly historical (you can see some discussion in #5). Changing this interface would be a breaking change (so it would mean an increase on the major version of the library), but I do agree that it would make sense to do it now that the library supports a good fallback software-based implementation. This point is completely separate from that of adding or not ARMv8 hardware-based crc32c support to the package though, so I'd rather we open a new issue to handle it separately.
from crc32c.
A first version of this support has been implemented on the current master
branch. It works on Linux only at the moment, where a ~2-3x performance improvement can be seen in systems under test. A new release will be pushed out soon to PyPI with this and other improvements.
from crc32c.
Related Issues (20)
- Changing package import logic HOT 5
- Example calculating crc32c from file? HOT 9
- Binary wheels seem to be missing for py38 windows and mac HOT 3
- Fallback to Python does not work on Python 3.8 (possibly others?) HOT 3
- copyright and license for file crc32c_arm64.c is illogical HOT 3
- Compiled wheels HOT 7
- Tests fail on big-endian HOT 2
- CRC32 calculation correct? HOT 2
- build fails on armv7-a HOT 6
- Add support to release aarch64 wheels HOT 1
- Python 3.10 Wheels? HOT 7
- The package is wrongly forcing `-msse4.2 -mpclmul` on all x86 systems HOT 5
- Compiling to a WebAssembly target HOT 5
- Add optional software implementation HOT 1
- Lack of c extension for MacOS Python 3.12 HOT 1
- Change access to software implementation HOT 8
- Building on non-Intel platforms HOT 2
- Source tarball for version 1.6 is broken HOT 3
- Mac wheels for 1.7 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 crc32c.