GithubHelp home page GithubHelp logo

Comments (5)

mooreryan avatar mooreryan commented on July 21, 2024

Yeah there are some pretty heavy deps in there. For example, I just did a little experiment and found that removing just re2 and ppx_string would get the ocaml install . command in a fresh switch down from 67 to 21 dependencies.

I have been meaning to switch Re2 to ocaml-re for a while now, but haven't gotten around to it. The ppx_string one is easier to remove, but removing that one but not re2 doesn't really help according to the opam solver.

from ocaml_python_bindgen.

UnixJunkie avatar UnixJunkie commented on July 21, 2024

For regexps, there is also the Str module.
I don't know what people have against it; it always solves my problems once I have a correct regexp.

from ocaml_python_bindgen.

mooreryan avatar mooreryan commented on July 21, 2024

On the v0.3.0 branch the opam install . command from the repository on a fresh switch wants to install 72 packages. The same command on the current dev branch which will be 0.3.1 only wants 30 (eg switching re2 to re, and no core, core_bench, or bisect_ppx). Much faster install time too.

At some time I may remove ppx_string, but for now it will stay as it is used in quite a few places currently.

from ocaml_python_bindgen.

UnixJunkie avatar UnixJunkie commented on July 21, 2024

that's a lot better already

from ocaml_python_bindgen.

mooreryan avatar mooreryan commented on July 21, 2024

I will close this for now. The only other dep that would be "easy" to remove is ppx_string and its used quite a lot.

from ocaml_python_bindgen.

Related Issues (10)

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.