Hi Joseph, On Wed, 13 Feb 2019 at 16:19, Maciej Fijalkowski <fij...@gmail.com> wrote: > On Wed, Feb 13, 2019 at 3:57 PM Joseph Reagle <joseph.2...@reagle.org> wrote: > > Is it possible for pypy to remember optimizations across instantiations? > > It is not possible.
A more constructive answer: in some cases, you can change the overall approach. The problem is likely not that it takes 2s instead of 1s to run the program, but that this difference is multiplied many times because you run the same program many times on different input data. In that case, you may try to convert the single-use script into a local "server" that is only started once. Then you change your ``fe.py`` script to connect to it and "download" the result locally. The point is that the server runs in a single process that remains alive. A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev