[pypy-dev] how to check if jit is available in my build

Davide Del Vento ddvento at ucar.edu
Fri Feb 22 22:01:05 CET 2013


Thanks to both.

I can import pypyjit and sys.pypy_translation_info["translation.jit"] is 
True (for both 2.9 and 2.0-beta1).

Have a nice weekend,
Davide

On 02/22/2013 01:54 PM, Alex Gaynor wrote:
> sys.pypy_translation_info["translation.jit"]
>
> will tell you definitely.
>
> Alex
>
>
> On Fri, Feb 22, 2013 at 12:22 PM, Davide Del Vento <ddvento at ucar.edu
> <mailto:ddvento at ucar.edu>> wrote:
>
>     Folks,
>
>     I compiled pypy 1.9 and 2.0-beta1 from source, and the few small
>     tests I ran were slower than expected. I am wondering if I did
>     everything "right" and if there is a runtime check that would give
>     me a definitive answer to the question "is jit available in this build"?
>
>     Google seems to not know the answer.
>
>     Thanks
>     Davide
>     _________________________________________________
>     pypy-dev mailing list
>     pypy-dev at python.org <mailto:pypy-dev at python.org>
>     http://mail.python.org/__mailman/listinfo/pypy-dev
>     <http://mail.python.org/mailman/listinfo/pypy-dev>
>
>
>
>
> --
> "I disapprove of what you say, but I will defend to the death your right
> to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
> "The people's good is the highest law." -- Cicero


More information about the pypy-dev mailing list