[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): move these two api functions to C

2017-10-02 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92557:63bf91dc13e5 Date: 2017-10-02 15:36 +0200 http://bitbucket.org/pypy/pypy/changeset/63bf91dc13e5/ Log:(antocuni, arigo): move these two api functions to C diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): port more functions to C, and mark some others which we would like to port

2017-10-02 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92558:98f6749ae4ed Date: 2017-10-02 16:31 +0200 http://bitbucket.org/pypy/pypy/changeset/98f6749ae4ed/ Log:(antocuni, arigo): port more functions to C, and mark some others which we would like to port diff --git a/pypy

[pypy-commit] pypy cpyext-nowrapper: (antocuni, ronan): rename nowrapper into no_gc: this new flag imply @rgc.no_collect now

2017-10-03 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92570:5286504e4045 Date: 2017-10-03 14:19 +0200 http://bitbucket.org/pypy/pypy/changeset/5286504e4045/ Log:(antocuni, ronan): rename nowrapper into no_gc: this new flag imply @rgc.no_collect now diff --git a/pypy/module

[pypy-commit] pypy cpyext-nowrapper: merge heads

2017-10-03 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92571:1fd69c872733 Date: 2017-10-03 14:20 +0200 http://bitbucket.org/pypy/pypy/changeset/1fd69c872733/ Log:merge heads diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py --- a/pypy/module/cpyext/object.py +++ b/p

[pypy-commit] pypy cpyext-nowrapper: typo

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92586:3ad28c3bd8e4 Date: 2017-10-03 19:42 +0200 http://bitbucket.org/pypy/pypy/changeset/3ad28c3bd8e4/ Log:typo diff --git a/pypy/module/cpyext/test/test_memoryobject.py b/pypy/module/cpyext/test/test_memoryobject.py --- a/pypy/modul

[pypy-commit] pypy cpyext-nowrapper: typo

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92583:7fef75641ebf Date: 2017-10-03 17:54 +0200 http://bitbucket.org/pypy/pypy/changeset/7fef75641ebf/ Log:typo diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/typeobject.py --- a/pypy/module/cpyext/typeobject.py ++

[pypy-commit] pypy cpyext-nowrapper: (antocuni, ronan): fix the Py_DecRef usages inside cppyy

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92587:97550ad28d1a Date: 2017-10-03 20:27 +0200 http://bitbucket.org/pypy/pypy/changeset/97550ad28d1a/ Log:(antocuni, ronan): fix the Py_DecRef usages inside cppyy diff --git a/pypy/module/_cppyy/converter.py b/pypy/module/_cppyy

[pypy-commit] pypy cpyext-nowrapper: (antocuni, ronan, armin) kill the @rgc.no_collect for now, as it doesn't do exactly what we need. Eventually we should probably write a custom graph analyzer, but

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92582:a11cce743736 Date: 2017-10-03 17:53 +0200 http://bitbucket.org/pypy/pypy/changeset/a11cce743736/ Log:(antocuni, ronan, armin) kill the @rgc.no_collect for now, as it doesn't do exactly what we need. Eventually we s

[pypy-commit] pypy cpyext-nowrapper: forgot to rename these

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92588:fccecff29953 Date: 2017-10-03 20:39 +0200 http://bitbucket.org/pypy/pypy/changeset/fccecff29953/ Log:forgot to rename these diff --git a/pypy/module/cpyext/pystate.py b/pypy/module/cpyext/pystate.py --- a/pypy/module/cpyext/pyst

[pypy-commit] extradoc extradoc: (antocuni, arigo, ronan): a picture of what we are seeing right now

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5832:2f9fbc4cb3d1 Date: 2017-10-04 16:00 +0200 http://bitbucket.org/pypy/extradoc/changeset/2f9fbc4cb3d1/ Log:(antocuni, arigo, ronan): a picture of what we are seeing right now diff --git a/sprintinfo/cape-town-2017/2017-10-04-155524.jpg b

[pypy-commit] pypy cpyext-nowrapper: (antocuni, arigo, ronan): make PyObject_dealloc no_gc=True

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92602:e92d38869b79 Date: 2017-10-04 18:00 +0200 http://bitbucket.org/pypy/pypy/changeset/e92d38869b79/ Log:(antocuni, arigo, ronan): make PyObject_dealloc no_gc=True diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext

[pypy-commit] pypy cpyext-nowrapper: (antocuni, arigo, ronan): fix translation

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92601:a4307fb5912e Date: 2017-10-04 16:03 +0200 http://bitbucket.org/pypy/pypy/changeset/a4307fb5912e/ Log:(antocuni, arigo, ronan): fix translation Directly from table mountain, cape town: https://bytebucket.org/pypy

[pypy-commit] pypy cpyext-nowrapper: (antocuni, ronan around): WIP: refactor _PyObject_NewVar to avoid references to w_* and make it more similar to what CPython does. We need to do the same to PyObje

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92610:b2d93af76cb7 Date: 2017-10-05 14:33 +0200 http://bitbucket.org/pypy/pypy/changeset/b2d93af76cb7/ Log:(antocuni, ronan around): WIP: refactor _PyObject_NewVar to avoid references to w_* and make it more similar to what

[pypy-commit] extradoc extradoc: use a better quality picture

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5835:6cd4c639387a Date: 2017-10-05 23:22 +0200 http://bitbucket.org/pypy/extradoc/changeset/6cd4c639387a/ Log:use a better quality picture diff --git a/sprintinfo/cape-town-2017/2017-10-04-155524.jpg b/sprintinfo/cape-town-2017/2017-10-04-15

[pypy-commit] pypy cpyext-nowrapper: WIP: in the quest to remove references to space in _PyObject_NewVar, manually inline the content of BaseCpyTypedescr.allocate; for the w_type case, we still go thr

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92626:15a548a8aebf Date: 2017-10-07 01:23 +0200 http://bitbucket.org/pypy/pypy/changeset/15a548a8aebf/ Log:WIP: in the quest to remove references to space in _PyObject_NewVar, manually inline the content of BaseCpyTypedescr.all

[pypy-commit] pypy cpyext-nowrapper: WIP: manually revert part of the previous commit and go back to the old implementation. The plan is to do changes one by one in order to spot when/where we break t

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92625:2d5f1e54e903 Date: 2017-10-07 01:00 +0200 http://bitbucket.org/pypy/pypy/changeset/2d5f1e54e903/ Log:WIP: manually revert part of the previous commit and go back to the old implementation. The plan is to do changes one by

[pypy-commit] pypy cpyext-nowrapper: merge heads

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92627:512a517b4e70 Date: 2017-10-07 01:34 +0200 http://bitbucket.org/pypy/pypy/changeset/512a517b4e70/ Log:merge heads diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy/modul

[pypy-commit] pypy cpyext-nowrapper: change strategy: instead of trying to mimic what CPython does, for now just try to refactor things in a way whih will allow us to remove all references to the spac

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92628:d9e6994b8085 Date: 2017-10-07 10:39 +0100 http://bitbucket.org/pypy/pypy/changeset/d9e6994b8085/ Log:change strategy: instead of trying to mimic what CPython does, for now just try to refactor things in a way whih will al

[pypy-commit] pypy cpyext-nowrapper: copy&adapt state.C from the branch cpyext-avoid-roundtrip, to be able to directly call functions defined in C; improve _PyObject_NewVar to compare tp directly with

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92629:9c8e90ccce77 Date: 2017-10-07 12:33 +0200 http://bitbucket.org/pypy/pypy/changeset/9c8e90ccce77/ Log:copy&adapt state.C from the branch cpyext-avoid-roundtrip, to be able to directly call functions defined in C; improve

[pypy-commit] pypy cpyext-nowrapper: bah

2017-10-07 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92630:259118ef27be Date: 2017-10-07 12:45 +0200 http://bitbucket.org/pypy/pypy/changeset/259118ef27be/ Log:bah diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py --- a/pypy/module/cpyext/object.py +++ b/pypy/modu

[pypy-commit] pypy cpyext-nowrapper: forgot to save and commit this change

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92660:32f97b462003 Date: 2017-10-07 18:47 +0200 http://bitbucket.org/pypy/pypy/changeset/32f97b462003/ Log:forgot to save and commit this change diff --git a/pypy/module/cpyext/dictobject.py b/pypy/module/cpyext/dictobject.py --- a/py

[pypy-commit] pypy cpyext-nowrapper: (antocuni, ronan): make Py_IncRef no_gc=True, rewrite incref not to take the space

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92658:aae2bc78be74 Date: 2017-10-07 18:35 +0200 http://bitbucket.org/pypy/pypy/changeset/aae2bc78be74/ Log:(antocuni, ronan): make Py_IncRef no_gc=True, rewrite incref not to take the space diff --git a/pypy/module/cpyext

[pypy-commit] pypy cpyext-nowrapper: this is no longer needed

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92663:2754d331493b Date: 2017-10-07 19:36 +0200 http://bitbucket.org/pypy/pypy/changeset/2754d331493b/ Log:this is no longer needed diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py --- a/pypy/module/cpyext/obje

[pypy-commit] pypy cpyext-nowrapper: (antocuni, ronan): try to avoid using the space inside PyErr_NoMemory, so that we can later declare it as no_gc=True

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92664:ab603c05de2d Date: 2017-10-08 00:41 +0200 http://bitbucket.org/pypy/pypy/changeset/ab603c05de2d/ Log:(antocuni, ronan): try to avoid using the space inside PyErr_NoMemory, so that we can later declare it as no_gc=True

[pypy-commit] pypy cpyext-nowrapper: call directly ll_type_allocate from here, bypassing the space

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92661:194a4564f528 Date: 2017-10-07 19:23 +0200 http://bitbucket.org/pypy/pypy/changeset/194a4564f528/ Log:call directly ll_type_allocate from here, bypassing the space diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/ob

[pypy-commit] pypy cpyext-nowrapper: finally, this no longer needs the space

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92659:0fd504cab8d9 Date: 2017-10-07 18:38 +0200 http://bitbucket.org/pypy/pypy/changeset/0fd504cab8d9/ Log:finally, this no longer needs the space diff --git a/pypy/module/cpyext/object.py b/pypy/module/cpyext/object.py --- a/pypy/mod

[pypy-commit] pypy cpyext-nowrapper: (antocuni, ronan): try to fix translation

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92665:e088311fc427 Date: 2017-10-08 00:50 +0200 http://bitbucket.org/pypy/pypy/changeset/e088311fc427/ Log:(antocuni, ronan): try to fix translation diff --git a/pypy/module/cpyext/pyobject.py b/pypy/module/cpyext/pyobject.py --- a

[pypy-commit] pypy cpyext-nowrapper: this was supposed to continue, not to return; it's 'funny' that tests pass anyway :-/

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-nowrapper Changeset: r92662:aa3ffaa3a670 Date: 2017-10-07 19:24 +0200 http://bitbucket.org/pypy/pypy/changeset/aa3ffaa3a670/ Log:this was supposed to continue, not to return; it's 'funny' that tests pass anyway :-/ diff --git a/pypy/module/cpyext/o

[pypy-commit] pypy cpyext-avoid-roundtrip: implement _PyObject_New, _PyObject_NewVar and _PyObject_GC_New in C

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92666:e5413301904e Date: 2017-10-09 00:12 +0200 http://bitbucket.org/pypy/pypy/changeset/e5413301904e/ Log:implement _PyObject_New, _PyObject_NewVar and _PyObject_GC_New in C diff --git a/pypy/module/cpyext/api.py b/pypy/module/

[pypy-commit] pypy cpyext-avoid-roundtrip: now the signature of _PyObject_NewVar returns PyVarObject*, as CPython; previously, it returned PyObject*; fix this test by inserting the proper cast

2017-10-08 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92667:a7a6b42a7803 Date: 2017-10-09 00:41 +0200 http://bitbucket.org/pypy/pypy/changeset/a7a6b42a7803/ Log:now the signature of _PyObject_NewVar returns PyVarObject*, as CPython; previously, it returned PyObject*; fix thi

[pypy-commit] pypy cpyext-avoid-roundtrip: port PyObject_Init{, Var} to C

2017-10-09 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92668:ed10b210f7b9 Date: 2017-10-09 08:56 +0200 http://bitbucket.org/pypy/pypy/changeset/ed10b210f7b9/ Log:port PyObject_Init{,Var} to C diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext

[pypy-commit] pypy cpyext-avoid-roundtrip: we can use the macros now

2017-10-09 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92670:c0c845f0324a Date: 2017-10-09 09:04 +0200 http://bitbucket.org/pypy/pypy/changeset/c0c845f0324a/ Log:we can use the macros now diff --git a/pypy/module/cpyext/src/object.c b/pypy/module/cpyext/src/object.c --- a/pypy/modul

[pypy-commit] pypy cpyext-avoid-roundtrip: try to be a bit more similar to CPython and raise PyExc_NoMem() inside _PyObject_NewVar() instead of PyObject_Init*()

2017-10-09 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92669:f91e599505d5 Date: 2017-10-09 09:00 +0200 http://bitbucket.org/pypy/pypy/changeset/f91e599505d5/ Log:try to be a bit more similar to CPython and raise PyExc_NoMem() inside _PyObject_NewVar() instead of PyObject_Init

[pypy-commit] extradoc extradoc: (antocuni, arigo): another idea

2017-10-09 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5837:5a8c64c3a71f Date: 2017-10-09 14:55 +0200 http://bitbucket.org/pypy/extradoc/changeset/5a8c64c3a71f/ Log:(antocuni, arigo): another idea diff --git a/planning/cpyext.txt b/planning/cpyext.txt --- a/planning/cpyext.txt +++ b/planning

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): use make_ref+decref instead of as_pyobj to convert arguments inside generic_cpy_call: the plan is to add a fast-path to make_ref to alloca

2017-10-09 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92676:c84be963f330 Date: 2017-10-09 16:08 +0200 http://bitbucket.org/pypy/pypy/changeset/c84be963f330/ Log:(antocuni, arigo): use make_ref+decref instead of as_pyobj to convert arguments inside generic_cpy_call: the plan

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): write a passing test

2017-10-09 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92688:abffbc3948ea Date: 2017-10-09 18:40 +0200 http://bitbucket.org/pypy/pypy/changeset/abffbc3948ea/ Log:(antocuni, arigo): write a passing test diff --git a/pypy/module/cpyext/test/test_intobject.py b/pypy/module/cpyext

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): we concluded that we cannot kill these: they are needed e.g. by as_pyobj and int subclasses

2017-10-09 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92689:3f54b35142d4 Date: 2017-10-09 18:42 +0200 http://bitbucket.org/pypy/pypy/changeset/3f54b35142d4/ Log:(antocuni, arigo): we concluded that we cannot kill these: they are needed e.g. by as_pyobj and int subclasses

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): hoorray: finally add an optimized special case to make_ref for integers, so that they are allocated from the free list

2017-10-09 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92687:79a097e55085 Date: 2017-10-09 18:35 +0200 http://bitbucket.org/pypy/pypy/changeset/79a097e55085/ Log:(antocuni, arigo): hoorray: finally add an optimized special case to make_ref for integers, so that they are

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): implement PyInt_FromLong in C and use freelists for allocation, copying the code from CPython; plus, some smaller changes here and there w

2017-10-09 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92686:e5c7b7f85187 Date: 2017-10-09 18:26 +0200 http://bitbucket.org/pypy/pypy/changeset/e5c7b7f85187/ Log:(antocuni, arigo): implement PyInt_FromLong in C and use freelists for allocation, copying the code from CPython

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): we can no longer call decref on w_obj now, because make_ref returns an unliked PyObject for integers. Fix the test

2017-10-10 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92697:a6058690cb67 Date: 2017-10-10 10:32 +0200 http://bitbucket.org/pypy/pypy/changeset/a6058690cb67/ Log:(antocuni, arigo): we can no longer call decref on w_obj now, because make_ref returns an unliked PyObject for

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): hopefully fix translation, and add a sanity check to catch these errors earlier in the tests

2017-10-10 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92707:648fa5150fa6 Date: 2017-10-10 17:51 +0200 http://bitbucket.org/pypy/pypy/changeset/648fa5150fa6/ Log:(antocuni, arigo): hopefully fix translation, and add a sanity check to catch these errors earlier in the tests

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo): blindly try to fix cppyy

2017-10-10 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92708:160e55b245b0 Date: 2017-10-10 17:54 +0200 http://bitbucket.org/pypy/pypy/changeset/160e55b245b0/ Log:(antocuni, arigo): blindly try to fix cppyy diff --git a/pypy/module/_cppyy/converter.py b/pypy/module/_cppyy

[pypy-commit] pypy cpyext-avoid-roundtrip: (antocuni, arigo, ronan): hg merge default

2017-10-11 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92717:70284cb08d7e Date: 2017-10-11 14:39 +0200 http://bitbucket.org/pypy/pypy/changeset/70284cb08d7e/ Log:(antocuni, arigo, ronan): hg merge default diff too long, truncating to 2000 out of 8986 lines diff --git a/.hgtags b

[pypy-commit] extradoc extradoc: (antocuni, arigo): first draft for the sprint report

2017-10-11 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5838:fada16ff748b Date: 2017-10-11 16:24 +0200 http://bitbucket.org/pypy/extradoc/changeset/fada16ff748b/ Log:(antocuni, arigo): first draft for the sprint report diff --git a/blog/draft/2017-10-cape-town-report.rst b/blog/draft/2017-10

[pypy-commit] pypy cpyext-avoid-roundtrip: merge heads"

2017-10-12 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92732:226ccce93e52 Date: 2017-10-12 10:30 +0200 http://bitbucket.org/pypy/pypy/changeset/226ccce93e52/ Log:merge heads" diff --git a/pypy/module/cpyext/test/test_api.py b/pypy/module/cpyext/test/test_api.py --- a/pypy/module/cp

[pypy-commit] pypy cpyext-avoid-roundtrip: add a proper repr for this class, else its repr() is StdObjSpace, which is veeeery confusing. Hoorray old style classes

2017-10-12 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92730:a79aad3bfd78 Date: 2017-10-12 10:20 +0200 http://bitbucket.org/pypy/pypy/changeset/a79aad3bfd78/ Log:add a proper repr for this class, else its repr() is StdObjSpace, which is vry confusing. Hoorray old style cl

[pypy-commit] pypy cpyext-avoid-roundtrip: call PyTuple_New from here

2017-10-12 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92731:aab2478d4f85 Date: 2017-10-12 10:29 +0200 http://bitbucket.org/pypy/pypy/changeset/aab2478d4f85/ Log:call PyTuple_New from here diff --git a/pypy/module/cpyext/test/test_tupleobject.py b/pypy/module/cpyext/test/test_tuple

[pypy-commit] pypy cpyext-avoid-roundtrip: WIP: copy the tupleobject freelist logic from CPython, and whack around until we can use it from cpyext/tupleobject.py. The first test passes, other are brok

2017-10-12 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92729:ccf12107e805 Date: 2017-10-12 10:09 +0200 http://bitbucket.org/pypy/pypy/changeset/ccf12107e805/ Log:WIP: copy the tupleobject freelist logic from CPython, and whack around until we can use it from cpyext/tupleobjec

[pypy-commit] extradoc extradoc: don't forget this

2017-10-12 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5840:af8c66a99b6f Date: 2017-10-12 12:27 +0200 http://bitbucket.org/pypy/extradoc/changeset/af8c66a99b6f/ Log:don't forget this diff --git a/blog/draft/2017-10-cape-town-report.rst b/blog/draft/2017-10-cape-town-report.rst --- a/blog/draft/2

[pypy-commit] pypy cpyext-avoid-roundtrip: implement _Py_NewReference directly in C

2017-10-13 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92745:888c6f93963d Date: 2017-10-13 18:02 +0100 http://bitbucket.org/pypy/pypy/changeset/888c6f93963d/ Log:implement _Py_NewReference directly in C diff --git a/pypy/module/cpyext/include/object.h b/pypy/module/cpyext/include/o

[pypy-commit] pypy cpyext-avoid-roundtrip: merge heads

2017-10-13 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92746:5b20c5296b9f Date: 2017-10-13 18:02 +0100 http://bitbucket.org/pypy/pypy/changeset/5b20c5296b9f/ Log:merge heads diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py --- a/pypy/module/cpyext/api.py +++ b/pypy

[pypy-commit] pypy cpyext-avoid-roundtrip: kill new_empty_tuple and fix PyTuple_Resize

2017-10-13 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92747:014910472387 Date: 2017-10-13 19:06 +0200 http://bitbucket.org/pypy/pypy/changeset/014910472387/ Log:kill new_empty_tuple and fix PyTuple_Resize diff --git a/pypy/module/cpyext/tupleobject.py b/pypy/module/cpyext/tupleobj

[pypy-commit] pypy cpyext-avoid-roundtrip: fix this test, now that the empty tuple is cached also on pypy; fix also the type of initial_item_refcount, because int is not large enough to contain REFCNT

2017-10-13 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92748:cfae668eb6e9 Date: 2017-10-13 23:25 +0200 http://bitbucket.org/pypy/pypy/changeset/cfae668eb6e9/ Log:fix this test, now that the empty tuple is cached also on pypy; fix also the type of initial_item_refcount, becaus

[pypy-commit] pypy cpyext-avoid-roundtrip: missing import

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92758:59c2a72f8c1f Date: 2017-10-14 00:24 +0200 http://bitbucket.org/pypy/pypy/changeset/59c2a72f8c1f/ Log:missing import diff --git a/pypy/module/cpyext/tupleobject.py b/pypy/module/cpyext/tupleobject.py --- a/pypy/module/cpye

[pypy-commit] pypy cpyext-refactor-methodobject: fix

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92761:5c27ff8fb77b Date: 2017-10-14 15:27 +0200 http://bitbucket.org/pypy/pypy/changeset/5c27ff8fb77b/ Log:fix diff --git a/pypy/module/cpyext/test/test_methodobject.py b/pypy/module/cpyext/test/test_methodobject.py --- a

[pypy-commit] pypy cpyext-refactor-methodobject: a (hopefully quick) 'sub-branch' of cpyext-avoid-roundtrip to refactor and cleanup methodobject.py

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92759:c549ac0e8be0 Date: 2017-10-14 11:08 +0200 http://bitbucket.org/pypy/pypy/changeset/c549ac0e8be0/ Log:a (hopefully quick) 'sub-branch' of cpyext-avoid-roundtrip to refactor and cleanup methodobject.py

[pypy-commit] pypy cpyext-avoid-roundtrip: we cannot cache the empty tuple as CPython does, else we end up having the same py_obj for different w_objs

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92757:7860795a7204 Date: 2017-10-14 00:06 +0200 http://bitbucket.org/pypy/pypy/changeset/7860795a7204/ Log:we cannot cache the empty tuple as CPython does, else we end up having the same py_obj for different w_objs diff

[pypy-commit] pypy cpyext-refactor-methodobject: rename these classes

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92762:b05962717d68 Date: 2017-10-14 15:32 +0200 http://bitbucket.org/pypy/pypy/changeset/b05962717d68/ Log:rename these classes diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobject.py --- a/py

[pypy-commit] pypy cpyext-refactor-methodobject: move the descr_call inside the classes, to reduce a bit the cluttering

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92763:0509cab76af7 Date: 2017-10-14 15:54 +0200 http://bitbucket.org/pypy/pypy/changeset/0509cab76af7/ Log:move the descr_call inside the classes, to reduce a bit the cluttering diff --git a/pypy/module/cpyext/meth

[pypy-commit] pypy cpyext-refactor-methodobject: split this one gigantic test into smaller ones

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92760:1ca2a0f2262f Date: 2017-10-14 11:47 +0200 http://bitbucket.org/pypy/pypy/changeset/1ca2a0f2262f/ Log:split this one gigantic test into smaller ones diff --git a/pypy/module/cpyext/test/test_methodobject.py b/pypy/mo

[pypy-commit] pypy cpyext-avoid-roundtrip: fix this test

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92764:1fe00f592e00 Date: 2017-10-14 17:23 +0200 http://bitbucket.org/pypy/pypy/changeset/1fe00f592e00/ Log:fix this test diff --git a/pypy/module/cpyext/test/test_sequence.py b/pypy/module/cpyext/test/test_sequence.py --- a/pyp

[pypy-commit] pypy cpyext-refactor-methodobject: merge the fix from cpyext-avoid-roundtrip

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92765:e627947095d3 Date: 2017-10-14 17:24 +0200 http://bitbucket.org/pypy/pypy/changeset/e627947095d3/ Log:merge the fix from cpyext-avoid-roundtrip diff --git a/pypy/module/cpyext/test/test_sequence.py b/pypy/module/cpye

[pypy-commit] pypy cpyext-refactor-methodobject: introduce a specialized class for METH_VARARGS functions

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92766:e06951cd3fe6 Date: 2017-10-14 18:11 +0200 http://bitbucket.org/pypy/pypy/changeset/e06951cd3fe6/ Log:introduce a specialized class for METH_VARARGS functions diff --git a/pypy/module/cpyext/methodobject.py b/pypy/mo

[pypy-commit] pypy cpyext-refactor-methodobject: when calling a METH_VARARGS, create directly a PyTuple, instead of passing from a w_tuple; in theory, this should make the args tuple to die very quick

2017-10-14 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92767:cefeba1a1de2 Date: 2017-10-14 18:30 +0200 http://bitbucket.org/pypy/pypy/changeset/cefeba1a1de2/ Log:when calling a METH_VARARGS, create directly a PyTuple, instead of passing from a w_tuple; in theory, this s

pypy-commit@python.org

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92775:0cd1a1fbbad9 Date: 2017-10-16 12:22 +0200 http://bitbucket.org/pypy/pypy/changeset/0cd1a1fbbad9/ Log:_Py_NewReference did not initialize pypy_link: as such, reused tuples from the freelist could contain a wrong valu

[pypy-commit] pypy cpyext-avoid-roundtrip: add a comment about a potential issue

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92774:718a91452806 Date: 2017-10-16 11:42 +0200 http://bitbucket.org/pypy/pypy/changeset/718a91452806/ Log:add a comment about a potential issue diff --git a/pypy/module/cpyext/tupleobject.py b/pypy/module/cpyext/tupleobject.py

[pypy-commit] pypy cpyext-refactor-methodobject: merge cpyext-avoid-roundtrip inside this

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92776:a5eb32fe2228 Date: 2017-10-16 12:23 +0200 http://bitbucket.org/pypy/pypy/changeset/a5eb32fe2228/ Log:merge cpyext-avoid-roundtrip inside this diff --git a/pypy/module/cpyext/include/object.h b/pypy/module/cpyext/inc

[pypy-commit] pypy cpyext-refactor-methodobject: write a specialized function to convert args_w into a py_tuple, which sets directly c_ob_item[*] instead of going through the slowish PyTuple_SetItem

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92782:17fd1d984f1d Date: 2017-10-17 00:47 +0200 http://bitbucket.org/pypy/pypy/changeset/17fd1d984f1d/ Log:write a specialized function to convert args_w into a py_tuple, which sets directly c_ob_item[*] instead of

[pypy-commit] pypy cpyext-refactor-methodobject: fix test_arraymodule:test_pickle by teaching pickle about all the W_PyCFunctionObject variants

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92783:371b5a6f2316 Date: 2017-10-17 00:53 +0200 http://bitbucket.org/pypy/pypy/changeset/371b5a6f2316/ Log:fix test_arraymodule:test_pickle by teaching pickle about all the W_PyCFunctionObject variants diff --git a

[pypy-commit] pypy cpyext-refactor-methodobject: fix translation

2017-10-16 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92784:84feef42c1ac Date: 2017-10-17 01:32 +0200 http://bitbucket.org/pypy/pypy/changeset/84feef42c1ac/ Log:fix translation diff --git a/pypy/module/cpyext/__init__.py b/pypy/module/cpyext/__init__.py --- a/pypy/module/cpye

[pypy-commit] pypy cpyext-refactor-methodobject: implement call_KEYWORDS and fix the test

2017-10-21 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92819:1c00ece5b913 Date: 2017-10-21 15:55 +0200 http://bitbucket.org/pypy/pypy/changeset/1c00ece5b913/ Log:implement call_KEYWORDS and fix the test diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/meth

[pypy-commit] pypy cpyext-refactor-methodobject: kill the now-obsolete W_PyCFunctionObject_{NOARGS, O, VARARGS}

2017-10-21 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92821:6a0f6b5d4571 Date: 2017-10-22 00:01 +0200 http://bitbucket.org/pypy/pypy/changeset/6a0f6b5d4571/ Log:kill the now-obsolete W_PyCFunctionObject_{NOARGS,O,VARARGS} diff --git a/pypy/module/cpyext/__init__.py b/pypy/mod

[pypy-commit] pypy cpyext-refactor-methodobject: WIP: try a different approach for descr_call: instead of creating a different

2017-10-21 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92817:26eed5075896 Date: 2017-10-21 15:22 +0200 http://bitbucket.org/pypy/pypy/changeset/26eed5075896/ Log:WIP: try a different approach for descr_call: instead of creating a different class/typedef for each calling

[pypy-commit] pypy cpyext-refactor-methodobject: fix W_PyCMethodObject.descr_call, so that it uses the same logic as W_PyCFunctionObject

2017-10-21 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92820:071be7b3d869 Date: 2017-10-21 23:54 +0200 http://bitbucket.org/pypy/pypy/changeset/071be7b3d869/ Log:fix W_PyCMethodObject.descr_call, so that it uses the same logic as W_PyCFunctionObject diff --git a/pypy/m

[pypy-commit] pypy cpyext-refactor-methodobject: fix W_PyCClassMethodObject.descr_call

2017-10-21 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92822:ae86725f484f Date: 2017-10-22 00:26 +0200 http://bitbucket.org/pypy/pypy/changeset/ae86725f484f/ Log:fix W_PyCClassMethodObject.descr_call diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodo

[pypy-commit] pypy cpyext-refactor-methodobject: XXX: this is just a test to see how much performance we loose if we go through the slow __args__ dance instead of using the fastcalls

2017-10-21 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92816:8823f6116665 Date: 2017-10-21 02:28 +0200 http://bitbucket.org/pypy/pypy/changeset/8823f6116665/ Log:XXX: this is just a test to see how much performance we loose if we go through the slow __args__ dance inste

[pypy-commit] pypy cpyext-refactor-methodobject: add a test for METH_KEYWORDS; the test passes with -A, but is currently broken in pypy

2017-10-21 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92818:094b65ff1d96 Date: 2017-10-21 15:46 +0200 http://bitbucket.org/pypy/pypy/changeset/094b65ff1d96/ Log:add a test for METH_KEYWORDS; the test passes with -A, but is currently broken in pypy diff --git a/pypy/mo

[pypy-commit] pypy cpyext-refactor-methodobject: add this fix, because now pass w_kwds=None directly; we should investigate better whether the check is still needed, but first I want to test the heavy

2017-10-21 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92823:7501b268c626 Date: 2017-10-22 00:43 +0200 http://bitbucket.org/pypy/pypy/changeset/7501b268c626/ Log:add this fix, because now pass w_kwds=None directly; we should investigate better whether the check is still

[pypy-commit] pypy cpyext-refactor-methodobject: try to add flags as an immutable fields, to constant-fold away the checks inside call()

2017-10-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92824:a41f31f17cfe Date: 2017-10-22 11:48 +0200 http://bitbucket.org/pypy/pypy/changeset/a41f31f17cfe/ Log:try to add flags as an immutable fields, to constant-fold away the checks inside call() diff --git a/pypy/m

[pypy-commit] pypy cpyext-refactor-methodobject: close this branch, will be merged into cpyext-avoid-roundtrip

2017-10-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92826:1bd92743748b Date: 2017-10-22 17:36 +0200 http://bitbucket.org/pypy/pypy/changeset/1bd92743748b/ Log:close this branch, will be merged into cpyext-avoid-roundtrip ___ pypy-

[pypy-commit] pypy cpyext-refactor-methodobject: fix this CCC and pass a py_tuple also to METH_OLDARGS calls

2017-10-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-refactor-methodobject Changeset: r92825:42834b4486db Date: 2017-10-22 12:05 +0200 http://bitbucket.org/pypy/pypy/changeset/42834b4486db/ Log:fix this CCC and pass a py_tuple also to METH_OLDARGS calls diff --git a/pypy/module/cpyext/methodobject.py b/pypy

[pypy-commit] pypy cpyext-avoid-roundtrip: merge the branch cpyext-refactor-methodobject: now W_PyCMethodObject and W_PyCFunctionObject use the same code to dispatch calls, with the effect that the la

2017-10-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92827:770b53602445 Date: 2017-10-22 17:39 +0200 http://bitbucket.org/pypy/pypy/changeset/770b53602445/ Log:merge the branch cpyext-refactor-methodobject: now W_PyCMethodObject and W_PyCFunctionObject use the same code to

[pypy-commit] pypy cpyext-avoid-roundtrip: bah, the flags attribute was not set because this class didn't call the parent __init__; fix

2017-10-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92828:85dbd5c26f1d Date: 2017-10-22 17:49 +0200 http://bitbucket.org/pypy/pypy/changeset/85dbd5c26f1d/ Log:bah, the flags attribute was not set because this class didn't call the parent __init__; fix diff --git a/pypy/mo

[pypy-commit] pypy cpyext-avoid-roundtrip: bah, fix this one as well

2017-10-22 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92831:79e9438da998 Date: 2017-10-22 19:41 +0200 http://bitbucket.org/pypy/pypy/changeset/79e9438da998/ Log:bah, fix this one as well diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobject.py --- a/pyp

[pypy-commit] pypy default: improve this test by using the same 'seen' pattern also used by other tests, so that it's easier to follow the control flow

2017-10-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r92832:b015a2924278 Date: 2017-10-23 17:55 +0200 http://bitbucket.org/pypy/pypy/changeset/b015a2924278/ Log:improve this test by using the same 'seen' pattern also used by other tests, so that it's easier to follow the control flow diff --git

[pypy-commit] pypy cpyext-avoid-roundtrip: kill this check; all the tests pass

2017-10-23 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92833:a1ed00dd3eba Date: 2017-10-22 20:08 +0200 http://bitbucket.org/pypy/pypy/changeset/a1ed00dd3eba/ Log:kill this check; all the tests pass diff --git a/pypy/module/cpyext/typeobject.py b/pypy/module/cpyext/typeobject.py ---

[pypy-commit] pypy cpyext-avoid-roundtrip: merge heads

2017-10-23 Thread antocuni
Author: Antonio Cuni Branch: cpyext-avoid-roundtrip Changeset: r92834:7b4e95e7c3b7 Date: 2017-10-23 17:56 +0200 http://bitbucket.org/pypy/pypy/changeset/7b4e95e7c3b7/ Log:merge heads diff --git a/pypy/module/cpyext/methodobject.py b/pypy/module/cpyext/methodobject.py --- a/pypy/module/cpyex

[pypy-commit] pypy default: fix whitespace

2017-10-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r92835:94ddc680fce1 Date: 2017-10-23 17:58 +0200 http://bitbucket.org/pypy/pypy/changeset/94ddc680fce1/ Log:fix whitespace diff --git a/pypy/module/_continuation/test/test_stacklet.py b/pypy/module/_continuation/test/test_stacklet.py --- a/pypy/modul

[pypy-commit] pypy default: improve this test by giving more descriptive names to variables; in particular, f vs f* was a bit confusing, at least for me :)

2017-10-23 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r92836:1c3af3c4a095 Date: 2017-10-23 18:21 +0200 http://bitbucket.org/pypy/pypy/changeset/1c3af3c4a095/ Log:improve this test by giving more descriptive names to variables; in particular, f vs f* was a bit confusing, at least for me :) diff --

[pypy-commit] extradoc extradoc: finish the draft

2017-10-26 Thread antocuni
xt-refactor-methodobject branch +noargs : 0.31 secs +onearg : 0.37 secs +varargs: 0.49 secs + + +.. _microbenchmarks: https://github.com/antocuni/cpyext-benchmarks - bla bla bla +So yes: before the sprint, we were ~2-6x slower than CPython. Now, we are +**faster** than it!

[pypy-commit] extradoc extradoc: draft of a new blog post

2017-10-26 Thread antocuni
) +quadcopter, i.e. a `PID controller`_ (**spoiler**: it doesn't fly). + +.. _`played a bit`: https://github.com/antocuni/evolvingcopter +.. _`PID controller`: https://en.wikipedia.org/wiki/PID_controller + +The idea is to have an initial population of random creatures: at each +generation, the

[pypy-commit] extradoc extradoc: rename... it's actually 80x faster, not just 50x :)

2017-10-27 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5846:afd53b75cebe Date: 2017-10-27 12:00 +0200 http://bitbucket.org/pypy/extradoc/changeset/afd53b75cebe/ Log:rename... it's actually 80x faster, not just 50x :) diff --git a/blog/draft/2017-10-how-to-make-50x-faster.rst b/blog/draft/2017-10

[pypy-commit] extradoc extradoc: tweaks

2017-10-27 Thread antocuni
I gave at last EuroPython, in which I +talk about a similar topic: "The Joy of PyPy JIT: abstractions for free" +(abstract_, slides_ and video_). + +.. _abstract: https://ep2017.europython.eu/conference/talks/the-joy-of-pypy-jit-abstractions-for-free +.. _slides: https://speakerdeck.com/ant

[pypy-commit] pypy default: finally, add two FAQs about numpy and numpypy

2017-10-27 Thread antocuni
ty is +progressing fast, we have discontinued support for ``numpypy``. + +.. _`started to reimplement`: https://morepypy.blogspot.co.il/2011/05/numpy-in-pypy-status-and-roadmap.html +.. _fork: https://bitbucket.org/pypy/numpy +.. _`PyPy binary wheels`: https://github.com/antocuni/pypy-wheels + + Is

[pypy-commit] extradoc extradoc: insert a link to the numpypy FAQ

2017-10-27 Thread antocuni
reat. .. _`we are working on that`: https://morepypy.blogspot.it/2017/10/cape-of-good-hope-for-pypy-hello-from.html +.. _numpypy: http://doc.pypy.org/en/latest/faq.html#what-about-numpy-numpypy-micronumpy .. _hack: https://github.com/antocuni/evolvingcopter/blob/master/ev/pypycompat.py In g

[pypy-commit] extradoc extradoc: explain how to reproduce the results

2017-10-27 Thread antocuni
-80x-faster.rst --- a/blog/draft/2017-10-how-to-make-80x-faster.rst +++ b/blog/draft/2017-10-how-to-make-80x-faster.rst @@ -240,3 +240,15 @@ .. _abstract: https://ep2017.europython.eu/conference/talks/the-joy-of-pypy-jit-abstractions-for-free .. _slides: https://speakerdeck.com/antocuni/the-joy-of

[pypy-commit] extradoc extradoc: rename all the files to follow YYYY-MM-title, because this directory is a mess

2017-10-27 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5850:b876e412d58c Date: 2017-10-27 15:43 +0200 http://bitbucket.org/pypy/extradoc/changeset/b876e412d58c/ Log:rename all the files to follow -MM-title, because this directory is a mess diff --git a/blog/draft/thank-you-psf.rst b/b

[pypy-commit] extradoc extradoc: put screenshots of parts of the trace, as suggested by fijal

2017-10-28 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5851:c08fe2c2dbef Date: 2017-10-28 12:10 +0200 http://bitbucket.org/pypy/extradoc/changeset/c08fe2c2dbef/ Log:put screenshots of parts of the trace, as suggested by fijal diff --git a/blog/draft/2017-10-how-to-make-80x-faster.rst b/blog/draf

[pypy-commit] extradoc extradoc: another disclaimer

2017-10-28 Thread antocuni
Author: Antonio Cuni Branch: extradoc Changeset: r5852:fb3978e5d935 Date: 2017-10-28 12:11 +0200 http://bitbucket.org/pypy/extradoc/changeset/fb3978e5d935/ Log:another disclaimer diff --git a/blog/draft/2017-10-how-to-make-80x-faster.rst b/blog/draft/2017-10-how-to-make-80x-faster.rst --- a

[pypy-commit] extradoc extradoc: remove the reference to list strategies: it's not true, since self.data items are of type numpy.float64. Bah.

2017-10-30 Thread antocuni
27;s `list strategies`_ -optimizations, ``self.data`` as a simple list of floats is internally represented -as a flat array of C doubles, i.e. very fast and compact. - .. _`actual code`: https://github.com/antocuni/evolvingcopter/blob/master/ev/creature.py#L100 -.. _`list strategie

<    1   2   3   4   5   6   7   8   9   10   >