Giter Site home page Giter Site logo

lib/bn.js is too big about bn.js HOT 13 CLOSED

dcousens avatar dcousens commented on July 27, 2024
lib/bn.js is too big

from bn.js.

Comments (13)

indutny avatar indutny commented on July 27, 2024

What suggestions do you have? The nice thing about this project is that you could just use lib/bn.js in a browser.

from bn.js.

dcousens avatar dcousens commented on July 27, 2024

I only have suggestions that compromise that capability.

from bn.js.

chevdor avatar chevdor commented on July 27, 2024

I would suggest to provide a minified version. That would reduce the amount a bit but I donΒ΄t see it much as an issue.

from bn.js.

dcousens avatar dcousens commented on July 27, 2024

@chevdor my concern isn't size in part of distribution or use in production.

My concerns were primarily in being able to review and audit a project which consists entirely of a 2000+ SLOC file.
In any other language, this could [probably] be considered a failure in the projects architecture.

from bn.js.

indutny avatar indutny commented on July 27, 2024

After some consideration: I don't mind if it'll be split into the multiple files, provided that there will be a all-included js distribution, and the way to include all plugins would be simple/transparent for users.

@dcousens any suggestions how to do it?

from bn.js.

dcousens avatar dcousens commented on July 27, 2024

I think just a flat file structure based on the different context classes
should be enough?
On 27 Mar 2015 4:32 am, "Fedor Indutny" [email protected] wrote:

After some consideration: I don't mind if it'll be split into the multiple
files, provided that there will be a all-included js distribution, and the
way to include all plugins would be simple/transparent for users.

@dcousens https://github.com/dcousens any suggestions how to do it?

β€”
Reply to this email directly or view it on GitHub
#35 (comment).

from bn.js.

indutny avatar indutny commented on July 27, 2024

Yeah, this sounds awesome. Does it sound like an interesting project to you? ;)

from bn.js.

dcousens avatar dcousens commented on July 27, 2024

Sure, I'll wait for you to merge #27 to save me an annoying rebase/merge effort.

from bn.js.

dcousens avatar dcousens commented on July 27, 2024

Its a shame you can't assign issues to people involved in the conversation.

from bn.js.

jprichardson avatar jprichardson commented on July 27, 2024

@dcousens #27 has been merged 😜

from bn.js.

indutny avatar indutny commented on July 27, 2024

This PR was hanging this for one year! :)

from bn.js.

dcousens avatar dcousens commented on July 27, 2024

Haha. I'll get around to this some time soon then πŸ‘

from bn.js.

dcousens avatar dcousens commented on July 27, 2024

I suspect this is probably never going to be worth the time considering the relative stability of this code now.

from bn.js.

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.