Giter VIP home page Giter VIP logo

Comments (4)

JamesBucanek avatar JamesBucanek commented on July 29, 2024

I’ve spent some more time today walking through the code, and I think the anomaly in jerasure_05.c is just a casual bug. Carefully comparing the differences between galois_w08_region_multiply(),
galois_w16_region_multiply(), and galois_w32_region_multiply(), it would appear that jerasure assumes that char are 8 bits, short ints are 16 bits, and ints are 32 bits.

Personally, I think the code could be improved by using the explicit fixed-width types (int8_t, int1t6_t, int32_t) where appropriate and consistently using sizeof(). I’m also finding unused variables and other cruft that could stand to be cleaned up.

I’ll probably take some time to make some of these changes, as my code must compile consistently for both 32 and 64 bit architectures. Let me know if anyone is interested in having me contribute these changes back to this project.

from jerasure.

tsuraan avatar tsuraan commented on July 29, 2024

So, this github repo was really just a mirror of Jerasure that I was using for a bit of hacking, but it's really gained some popularity recently. Jerasure's author, James Plank, has released a version 2, and it lives at https://bitbucket.org/jimplank/jerasure . That codebase is supposedly noticably faster, as well as being actively maintained by the actual author of the project. I've been trying to decide lately whether I should delete this repo, replace it with a file directing users to Plank's repo, or maybe try to keep an active mirror of his work here. Either way, could you check to see if his current codebase has the issues you've found? If it does, I think that updating that project would be better than devoting time to this one.

from jerasure.

JamesBucanek avatar JamesBucanek commented on July 29, 2024

Thanks for the update. I’ll definately follow the version 2 project. I had just started to work on optimizing the code for performance, and it looks like the author’s new version does exactly what I was attempting.

I’m terribly greatful for this project, because its existence led me to the jeasure code in the first place. But it does seem counterproductive to have two copies of the same project, since the original is also accessible through git. I’d vote for deleteing this project, or at least turn it into a mirror.

from jerasure.

tsuraan avatar tsuraan commented on July 29, 2024

I've changed the project link and switched master to a mirror of v2. I'll try to keep it up to date, but I think that a mirror is better than deleting the project. Lots more people use github than bitbucket, so as long as this keeps Jerasure discoverable, I'll keep it available.

from jerasure.

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.