Giter Site home page Giter Site logo

Comments (5)

koraktor avatar koraktor commented on May 24, 2024

Please have a look at the Performance section of the README. This library is plain Ruby code without any optimizations and is only suitable for the most minimal scenarios, e.g. decompressing TCP/UDP packets.

Please have a look at the current code in the master branch. It contains code to work with FFI and Apache Commons Compress which should work much better on JRuby.

from rbzip2.

adriantoman avatar adriantoman commented on May 24, 2024

Thank you, i will try it right now.

from rbzip2.

adriantoman avatar adriantoman commented on May 24, 2024

It looks like that performance is still very bad ... I don't see any change after installing gem from master.

from rbzip2.

koraktor avatar koraktor commented on May 24, 2024

You'll have to make sure that Commons Compress is in your classpath.

You can also check this using RBzip2::Java.available?.

from rbzip2.

koraktor avatar koraktor commented on May 24, 2024

Closing this. Please reopen if you still see bad performance with version 0.3.0 (and Commons Compress).

from rbzip2.

Related Issues (7)

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.