[pypy-dev] About gurobipy

Amaury Forgeot d'Arc amauryfa at gmail.com
Wed Sep 30 20:17:26 CEST 2015


2015-09-30 20:10 GMT+02:00 Vasily Evseenko <svpcom at gmail.com>:

> Hi,
> Could you explain about closed file objects (do you mean open file
> descriptors)?
> I've never heard about this restriction before.
>

PyPy uses a different garbage collection strategy, and unlike CPython,
objects are not deallocated as soon as the variable goes out of scope:
http://pypy.readthedocs.org/en/latest/cpython_differences.html#differences-related-to-garbage-collection-strategies

FWIW, Java has a very similar behavior.




>
> 30.09.2015 19:35, Phyo Arkar пишет:
>
>
> On Wed, Sep 30, 2015 at 6:54 PM, Luis José Novoa <luisjosenovoa at gmail.com>
> wrote:
>
>> gurobipy
>
>
> Never heard of it.
>
> Here are things PyPy Can help:
>
> - If it is Pure Python
> - If CExtensions are with CFFI
> - If file objects (if any) are closed
>
> PyPy will work fine and you can expect average 7x performance gain , up to
> 20-30x.
>
>
>
>
> _______________________________________________
> pypy-dev mailing listpypy-dev at python.orghttps://mail.python.org/mailman/listinfo/pypy-dev
>
>
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
>
>


-- 
Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20150930/16db6e1c/attachment.html>


More information about the pypy-dev mailing list