Giter Site home page Giter Site logo

Implementing crc32c for AARCH64 about crc32c HOT 2 CLOSED

icrar avatar icrar commented on July 30, 2024
Implementing crc32c for AARCH64

from crc32c.

Comments (2)

rtobar avatar rtobar commented on July 30, 2024

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.

rtobar avatar rtobar commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.