Code Monkey home page Code Monkey logo

Comments (5)

dbrgn avatar dbrgn commented on July 20, 2024

You can also add pypy to .travis.yml if you want. Travis supports it (although I don't know which version).

from jedi.

davidhalter avatar davidhalter commented on July 20, 2024

Yeah, I removed it once: 7c3a1c2

I plan to add it again if the travis uses a newer version (with the itertools.tee fix).

from jedi.

brettcannon avatar brettcannon commented on July 20, 2024

Could PyPy be tested again?

from jedi.

davidhalter avatar davidhalter commented on July 20, 2024

I have only recently removed pypy from the tested versions. It was tested for a long time, but allowed to fail. The problem is basically that it generated a lot of errors: https://travis-ci.org/davidhalter/jedi/jobs/277965015.

I have no idea why, but it was definitely not just working. Part of the errors are things that IPython does slightly different (like not having certain dunder methods on certain objects) and other things are probably PyPy bugs. The problem is that too many tests are failing and I would spend way too much time in the PyPy tracker. If someone wants to do that, they can feel free.

On a related note, I realized that PyPy was not really faster than CPython. Rather the contrary was the case: Python was probably like 10-20% faster. This might have changed, but I think that Jedi probably takes too many code paths to really speed it up.

I'm also not quite sure why not even parsing is faster (with parso), but maybe dealing with the stack (list.append, list.pop) is not that much faster.

from jedi.

brettcannon avatar brettcannon commented on July 20, 2024

@davidhalter thanks for the info!

from jedi.

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.