Re: [pypy-dev] Could PyPy have finalize() method or could be initialized thread by thread ?

2015-09-13 Thread Yicong Huang
Finally, we found out in this case we also need to call pypy_setup_home() in the thread attach. In 1st thread: rpython_startup_code(); pypy_setup_home("..", 1); pypy_init_threads(); And in the following threads: pypy_setup_home("..", 1); pypy_thread_attach(); On Sat, Sep 12, 2015 at 3:07 PM, Y

Re: [pypy-dev] use as benchmark pypy vs python if you please

2015-09-13 Thread Maciej Fijalkowski
PyPy warmup is quite slow, so very very likely On Fri, Sep 11, 2015 at 12:26 PM, Phyo Arkar wrote: > i am just testing a n_queen solver, yesterday with 2.6.1 vs Nodejs. > > The code i tested is from https://github.com/chaddotson/puzzles > > But pypy is much faster as nqueen grows . And it is 40%