[pypy-commit] extradoc extradoc: this was done by the list-strategies branch

2012-01-03 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: extradoc Changeset: r3997:806e6da58235 Date: 2011-12-19 19:45 +0100 http://bitbucket.org/pypy/extradoc/changeset/806e6da58235/ Log:this was done by the list-strategies branch diff --git a/planning/jit.txt b/planning/jit.txt ---

[pypy-commit] extradoc extradoc: typo in talk slides

2012-01-03 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: extradoc Changeset: r3998:f5f38f08d90d Date: 2011-12-19 19:45 +0100 http://bitbucket.org/pypy/extradoc/changeset/f5f38f08d90d/ Log:typo in talk slides diff --git a/talk/icooolps2011/talk/talk.tex b/talk/icooolps2011/talk/talk.tex ---

[pypy-commit] extradoc extradoc: merge

2012-01-03 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: extradoc Changeset: r3999:a88377852aa3 Date: 2012-01-03 14:30 +0100 http://bitbucket.org/pypy/extradoc/changeset/a88377852aa3/ Log:merge diff --git a/blog/draft/matplotlib.rst b/blog/draft/matplotlib.rst new file mode 100644 --- /dev/null +++

[pypy-commit] pypy default: make docstring of elidable a bit more friendly

2012-01-12 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r51281:769b1a02e211 Date: 2012-01-12 17:02 +0100 http://bitbucket.org/pypy/pypy/changeset/769b1a02e211/ Log:make docstring of elidable a bit more friendly diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py --- a/pypy/rlib/jit.py +++

[pypy-commit] pypy default: merge

2012-01-12 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r51282:080ab6106fc4 Date: 2012-01-12 17:11 +0100 http://bitbucket.org/pypy/pypy/changeset/080ab6106fc4/ Log:merge diff --git a/pypy/jit/metainterp/test/test_virtualstate.py b/pypy/jit/metainterp/test/test_virtualstate.py ---

[pypy-commit] pypy default: issue1059 testing

2012-02-20 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r52670:4b254e123047 Date: 2012-02-20 12:17 +0100 http://bitbucket.org/pypy/pypy/changeset/4b254e123047/ Log:issue1059 testing make the .__dict__.clear method of builtin types raise an error. Fix popitem on dict

[pypy-commit] pypy default: merge

2012-02-20 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r52671:6159d1be91c9 Date: 2012-02-20 12:18 +0100 http://bitbucket.org/pypy/pypy/changeset/6159d1be91c9/ Log:merge diff --git a/lib_pypy/_ctypes/array.py b/lib_pypy/_ctypes/array.py --- a/lib_pypy/_ctypes/array.py +++

[pypy-commit] pypy default: document this difference

2012-02-20 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r52672:b319183b838d Date: 2012-02-20 12:31 +0100 http://bitbucket.org/pypy/pypy/changeset/b319183b838d/ Log:document this difference diff --git a/pypy/doc/cpython_differences.rst b/pypy/doc/cpython_differences.rst ---

[pypy-commit] pypy default: bah. of course the identity hash and the identity eq are fast.

2012-03-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r53177:0f597ff4a6ba Date: 2012-03-01 21:12 +0100 http://bitbucket.org/pypy/pypy/changeset/0f597ff4a6ba/ Log:bah. of course the identity hash and the identity eq are fast. diff --git a/pypy/rpython/rclass.py

[pypy-commit] pypy faster-nested-scopes: two closure tests

2011-09-01 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: faster-nested-scopes Changeset: r46979:4263a5b46190 Date: 2011-09-01 12:02 +0200 http://bitbucket.org/pypy/pypy/changeset/4263a5b46190/ Log:two closure tests diff --git a/pypy/module/pypyjit/test_pypy_c/test_call.py

[pypy-commit] pypy faster-nested-scopes: don't test jump arguments, doesn't lead to test precision and there are random variations

2011-09-01 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: faster-nested-scopes Changeset: r46981:927d3f73e9f7 Date: 2011-09-01 15:13 +0200 http://bitbucket.org/pypy/pypy/changeset/927d3f73e9f7/ Log:don't test jump arguments, doesn't lead to test precision and there are random variations diff

[pypy-commit] pypy faster-nested-scopes: close to-be-merge branch

2011-09-01 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: faster-nested-scopes Changeset: r46982:a5bc14d5cef9 Date: 2011-09-01 15:15 +0200 http://bitbucket.org/pypy/pypy/changeset/a5bc14d5cef9/ Log:close to-be-merge branch ___ pypy-commit mailing list

[pypy-commit] pypy default: merge default

2011-09-01 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r46984:1b70e84ac93b Date: 2011-09-01 15:31 +0200 http://bitbucket.org/pypy/pypy/changeset/1b70e84ac93b/ Log:merge default diff --git a/pypy/doc/stackless.rst b/pypy/doc/stackless.rst --- a/pypy/doc/stackless.rst +++

[pypy-commit] pypy default: merge faster-nested-scopes: make nested scopes be a bit better supported by the JIT.

2011-09-01 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r46983:2641481ac49e Date: 2011-09-01 15:30 +0200 http://bitbucket.org/pypy/pypy/changeset/2641481ac49e/ Log:merge faster-nested-scopes: make nested scopes be a bit better supported by the JIT. - the cells on the

[pypy-commit] pypy default: fix on 64 bit

2011-09-02 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r47008:2c5ff10a0772 Date: 2011-09-02 09:59 +0200 http://bitbucket.org/pypy/pypy/changeset/2c5ff10a0772/ Log:fix on 64 bit diff --git a/pypy/module/pypyjit/test_pypy_c/test_call.py b/pypy/module/pypyjit/test_pypy_c/test_call.py

[pypy-commit] pypy improve-heap-caching-tracing: start a branch to cache more during tracing. start by stepwise refactoring the

2011-09-02 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47011:9806d3b8c116 Date: 2011-09-02 10:21 +0200 http://bitbucket.org/pypy/pypy/changeset/9806d3b8c116/ Log:start a branch to cache more during tracing. start by stepwise refactoring the current

[pypy-commit] pypy improve-heap-caching-tracing: move all the heap caching to the new file. add unit tests.

2011-09-02 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47012:8549556a3847 Date: 2011-09-02 11:22 +0200 http://bitbucket.org/pypy/pypy/changeset/8549556a3847/ Log:move all the heap caching to the new file. add unit tests. diff --git

[pypy-commit] pypy improve-heap-caching-tracing: next test that should pass

2011-09-02 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47020:f3f43660f5e9 Date: 2011-09-02 11:46 +0200 http://bitbucket.org/pypy/pypy/changeset/f3f43660f5e9/ Log:next test that should pass diff --git a/pypy/jit/metainterp/test/test_tracingopts.py

[pypy-commit] pypy improve-heap-caching-tracing: pass a slightly simpler version of this first test

2011-09-02 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47021:1988d4a527b0 Date: 2011-09-02 11:59 +0200 http://bitbucket.org/pypy/pypy/changeset/1988d4a527b0/ Log:pass a slightly simpler version of this first test diff --git

[pypy-commit] pypy improve-heap-caching-tracing: add the knowledge that two boxes with that were the result of a new operation

2011-09-02 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47022:604e55dccba6 Date: 2011-09-02 15:13 +0200 http://bitbucket.org/pypy/pypy/changeset/604e55dccba6/ Log:add the knowledge that two boxes with that were the result of a new operation can never

[pypy-commit] pypy improve-heap-caching-tracing: add some helpful comments

2011-09-02 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47023:3dbbdca31951 Date: 2011-09-02 15:25 +0200 http://bitbucket.org/pypy/pypy/changeset/3dbbdca31951/ Log:add some helpful comments diff --git a/pypy/jit/metainterp/heapcache.py

[pypy-commit] pypy improve-heap-caching-tracing: fix XXX in replace_box

2011-09-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47060:feecefe7686f Date: 2011-09-04 11:30 +0200 http://bitbucket.org/pypy/pypy/changeset/feecefe7686f/ Log:fix XXX in replace_box diff --git a/pypy/jit/metainterp/heapcache.py

[pypy-commit] pypy improve-heap-caching-tracing: change array cache layout

2011-09-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47059:38b764f137a9 Date: 2011-09-04 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/38b764f137a9/ Log:change array cache layout diff --git a/pypy/jit/metainterp/heapcache.py

[pypy-commit] pypy improve-heap-caching-tracing: fix bug in setfield

2011-09-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47061:119fa1455e3b Date: 2011-09-04 11:53 +0200 http://bitbucket.org/pypy/pypy/changeset/119fa1455e3b/ Log:fix bug in setfield diff --git a/pypy/jit/metainterp/heapcache.py

[pypy-commit] pypy improve-heap-caching-tracing: make the functional test pass too

2011-09-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47063:b60991325598 Date: 2011-09-04 12:04 +0200 http://bitbucket.org/pypy/pypy/changeset/b60991325598/ Log:make the functional test pass too diff --git a/pypy/jit/metainterp/pyjitpl.py

[pypy-commit] pypy improve-heap-caching-tracing: implement the same logic for getarrayitem as for getfield by reusing the same code

2011-09-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47062:d79a75d32675 Date: 2011-09-04 12:00 +0200 http://bitbucket.org/pypy/pypy/changeset/d79a75d32675/ Log:implement the same logic for getarrayitem as for getfield by reusing the same code

[pypy-commit] pypy improve-heap-caching-tracing: merge default

2011-09-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47067:304d094f3f3c Date: 2011-09-04 12:31 +0200 http://bitbucket.org/pypy/pypy/changeset/304d094f3f3c/ Log:merge default diff --git a/lib-python/modified-2.7/sqlite3/test/regression.py

[pypy-commit] pypy improve-heap-caching-tracing: cache the length of arrays

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47122:e5b582b1252b Date: 2011-09-06 14:03 +0200 http://bitbucket.org/pypy/pypy/changeset/e5b582b1252b/ Log:cache the length of arrays diff --git a/pypy/jit/metainterp/heapcache.py

[pypy-commit] pypy improve-heap-caching-tracing: be more precise about getarrayitem

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47125:77217d39842f Date: 2011-09-07 11:01 +0200 http://bitbucket.org/pypy/pypy/changeset/77217d39842f/ Log:be more precise about getarrayitem diff --git a/pypy/jit/metainterp/heapcache.py

[pypy-commit] pypy improve-heap-caching-tracing: typo

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47123:055211ce9263 Date: 2011-09-07 10:38 +0200 http://bitbucket.org/pypy/pypy/changeset/055211ce9263/ Log:typo diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapcache.py ---

[pypy-commit] pypy improve-heap-caching-tracing: some XXXs

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47124:c6cae1ac723f Date: 2011-09-07 10:39 +0200 http://bitbucket.org/pypy/pypy/changeset/c6cae1ac723f/ Log:some XXXs diff --git a/pypy/jit/metainterp/pyjitpl.py b/pypy/jit/metainterp/pyjitpl.py ---

[pypy-commit] pypy improve-heap-caching-tracing: fix XXX: also record newness of non-vtable memory

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47136:f7596aea7542 Date: 2011-09-07 11:35 +0200 http://bitbucket.org/pypy/pypy/changeset/f7596aea7542/ Log:fix XXX: also record newness of non-vtable memory add a new one XXX diff --git

[pypy-commit] pypy improve-heap-caching-tracing: make list allocation go through the heap cache

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47138:60e23189885e Date: 2011-09-07 14:13 +0200 http://bitbucket.org/pypy/pypy/changeset/60e23189885e/ Log:make list allocation go through the heap cache diff --git a/pypy/jit/metainterp/pyjitpl.py

[pypy-commit] pypy improve-heap-caching-tracing: add a sanity check: whenever a get operation is not generated, because the heap

2011-09-07 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47139:4a4c1b008238 Date: 2011-09-07 15:12 +0200 http://bitbucket.org/pypy/pypy/changeset/4a4c1b008238/ Log:add a sanity check: whenever a get operation is not generated, because the heap cache

[pypy-commit] pypy improve-heap-caching-tracing: add slightly theoretical XXX

2011-09-12 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47212:b4778788d50b Date: 2011-09-08 22:09 +0200 http://bitbucket.org/pypy/pypy/changeset/b4778788d50b/ Log:add slightly theoretical XXX diff --git a/pypy/jit/metainterp/heapcache.py

[pypy-commit] pypy improve-heap-caching-tracing: close to-be-merged branch

2011-09-16 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: improve-heap-caching-tracing Changeset: r47290:7793d23a0ac6 Date: 2011-09-16 13:39 +0200 http://bitbucket.org/pypy/pypy/changeset/7793d23a0ac6/ Log:close to-be-merged branch ___ pypy-commit mailing

[pypy-commit] pypy unroll-if-alt: use unroll_iff

2011-09-20 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: unroll-if-alt Changeset: r47366:6ed4f8df93ce Date: 2011-09-20 15:51 +0200 http://bitbucket.org/pypy/pypy/changeset/6ed4f8df93ce/ Log:use unroll_iff diff --git a/pypy/objspace/std/newformat.py b/pypy/objspace/std/newformat.py ---

[pypy-commit] pypy unroll-if-alt: fix

2011-09-20 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: unroll-if-alt Changeset: r47367:5e7721621699 Date: 2011-09-20 15:55 +0200 http://bitbucket.org/pypy/pypy/changeset/5e7721621699/ Log:fix diff --git a/pypy/objspace/std/newformat.py b/pypy/objspace/std/newformat.py ---

[pypy-commit] pypy unroll-if-alt: take the direct path also when not jitting

2011-09-20 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: unroll-if-alt Changeset: r47369:4d6c1b37980e Date: 2011-09-20 16:07 +0200 http://bitbucket.org/pypy/pypy/changeset/4d6c1b37980e/ Log:take the direct path also when not jitting diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py ---

[pypy-commit] pypy default: kill terrible hack

2011-09-20 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r47370:18e7cacb3979 Date: 2011-09-20 16:21 +0200 http://bitbucket.org/pypy/pypy/changeset/18e7cacb3979/ Log:kill terrible hack diff --git a/pypy/rlib/parsing/codebuilder.py b/pypy/rlib/parsing/codebuilder.py ---

[pypy-commit] pypy list-strategies: fix nonsense

2011-09-23 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47498:fdb21a0533f2 Date: 2011-04-12 15:12 +0200 http://bitbucket.org/pypy/pypy/changeset/fdb21a0533f2/ Log:fix nonsense diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy default: merge

2011-09-23 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r47509:cba07b6bbd87 Date: 2011-05-24 12:00 +0200 http://bitbucket.org/pypy/pypy/changeset/cba07b6bbd87/ Log:merge diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++

[pypy-commit] pypy list-strategies: add nice XXX to solve

2011-09-23 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47542:97830425eefa Date: 2011-09-13 11:57 +0200 http://bitbucket.org/pypy/pypy/changeset/97830425eefa/ Log:add nice XXX to solve diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy list-strategies: these tests fail due to integer lists. use mutable objects (lists) here instead

2011-09-27 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47629:1ebebc4a00d2 Date: 2011-09-27 15:37 +0200 http://bitbucket.org/pypy/pypy/changeset/1ebebc4a00d2/ Log:these tests fail due to integer lists. use mutable objects (lists) here instead diff --git

[pypy-commit] pypy list-strategies: fix two problems

2011-09-27 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47631:7a368ba313a3 Date: 2011-09-27 15:48 +0200 http://bitbucket.org/pypy/pypy/changeset/7a368ba313a3/ Log:fix two problems diff --git a/pypy/module/gc/test/test_referents.py

[pypy-commit] pypy list-strategies: fix test by not putting string into list (which eats its identity)

2011-09-27 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47632:3e0d01090056 Date: 2011-09-27 15:55 +0200 http://bitbucket.org/pypy/pypy/changeset/3e0d01090056/ Log:fix test by not putting string into list (which eats its identity) diff --git

[pypy-commit] pypy default: rename to is_annotation_constant. add a docstring.

2011-09-29 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r47672:7fbfa277383f Date: 2011-09-29 10:34 +0200 http://bitbucket.org/pypy/pypy/changeset/7fbfa277383f/ Log:rename to is_annotation_constant. add a docstring. diff --git a/pypy/objspace/std/objspace.py

[pypy-commit] pypy list-strategies: implement id to match the new is behaviour.

2011-09-29 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47677:cb61b577bb9f Date: 2011-09-29 11:30 +0200 http://bitbucket.org/pypy/pypy/changeset/cb61b577bb9f/ Log:implement id to match the new is behaviour. diff --git a/pypy/objspace/std/objspace.py

[pypy-commit] pypy list-strategies: implement is and id for complex, fix -0.0 behaviour

2011-09-29 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47678:29e932a272a4 Date: 2011-09-29 14:28 +0200 http://bitbucket.org/pypy/pypy/changeset/29e932a272a4/ Log:implement is and id for complex, fix -0.0 behaviour diff --git a/pypy/objspace/std/objspace.py

[pypy-commit] pypy list-strategies: half the time

2011-09-29 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47679:5d5218bab720 Date: 2011-09-29 14:34 +0200 http://bitbucket.org/pypy/pypy/changeset/5d5218bab720/ Log:half the time diff --git a/pypy/objspace/std/test/test_obj.py b/pypy/objspace/std/test/test_obj.py ---

[pypy-commit] pypy list-strategies: use the much faster float2longlong instead

2011-09-29 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47680:d1f33b15f068 Date: 2011-09-29 14:35 +0200 http://bitbucket.org/pypy/pypy/changeset/d1f33b15f068/ Log:use the much faster float2longlong instead diff --git a/pypy/objspace/std/objspace.py

[pypy-commit] pypy list-strategies: add an option to enable list-strategies (more specifically: to disable it, because it is on by default).

2011-09-29 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47681:0d901f9bf92b Date: 2011-09-29 16:12 +0200 http://bitbucket.org/pypy/pypy/changeset/0d901f9bf92b/ Log:add an option to enable list-strategies (more specifically: to disable it, because it is on by

[pypy-commit] pypy list-strategies: fix test

2011-09-29 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47683:7ac8dc42ba08 Date: 2011-09-29 16:24 +0200 http://bitbucket.org/pypy/pypy/changeset/7ac8dc42ba08/ Log:fix test diff --git a/pypy/interpreter/test/test_function.py b/pypy/interpreter/test/test_function.py ---

[pypy-commit] pypy default: add unicode project idea

2011-09-29 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r47684:1bd02279bcaa Date: 2011-09-29 16:44 +0200 http://bitbucket.org/pypy/pypy/changeset/1bd02279bcaa/ Log:add unicode project idea diff --git a/pypy/doc/project-ideas.rst b/pypy/doc/project-ideas.rst ---

[pypy-commit] pypy default: a failing test for the interaction of the JIT with tagged pointers

2011-09-29 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r47685:53e042d23be8 Date: 2011-09-29 17:33 +0200 http://bitbucket.org/pypy/pypy/changeset/53e042d23be8/ Log:a failing test for the interaction of the JIT with tagged pointers diff --git a/pypy/jit/metainterp/test/test_ajit.py

[pypy-commit] pypy list-strategies: skip tests under certain circumstances

2011-09-30 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47701:9d84a22aa5fe Date: 2011-09-30 11:35 +0200 http://bitbucket.org/pypy/pypy/changeset/9d84a22aa5fe/ Log:skip tests under certain circumstances diff --git a/pypy/objspace/std/test/test_obj.py

[pypy-commit] pypy list-strategies: document the new behaviour

2011-09-30 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47700:949dbd6aba1e Date: 2011-09-30 11:09 +0200 http://bitbucket.org/pypy/pypy/changeset/949dbd6aba1e/ Log:document the new behaviour diff --git a/pypy/doc/cpython_differences.rst b/pypy/doc/cpython_differences.rst

[pypy-commit] pypy list-strategies: specialization always gives this functions different names, so just use _ here.

2011-10-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47819:fe769d7ec5a2 Date: 2011-10-04 11:51 +0200 http://bitbucket.org/pypy/pypy/changeset/fe769d7ec5a2/ Log:specialization always gives this functions different names, so just use _ here. diff --git

[pypy-commit] pypy list-strategies: comment

2011-10-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47820:caab31c0b915 Date: 2011-10-04 11:52 +0200 http://bitbucket.org/pypy/pypy/changeset/caab31c0b915/ Log:comment diff --git a/pypy/module/pypyjit/test_pypy_c/test_call.py

[pypy-commit] pypy list-strategies: slightly annoying: cast_opaque_ptr killed the tracing heap cache. I cannot just

2011-10-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47822:2a6af948db14 Date: 2011-10-04 14:57 +0200 http://bitbucket.org/pypy/pypy/changeset/2a6af948db14/ Log:slightly annoying: cast_opaque_ptr killed the tracing heap cache. I cannot just remove it, seems the

[pypy-commit] pypy list-strategies: for some reason some of the list fields are not cached across the loop. is this

2011-10-04 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47823:ef71640445f3 Date: 2011-10-04 15:02 +0200 http://bitbucket.org/pypy/pypy/changeset/ef71640445f3/ Log:for some reason some of the list fields are not cached across the loop. is this due to the opaque

[pypy-commit] pypy list-strategies: The ticker does not necessarily decrease by one. it depends on the trace length.

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47826:4125c33b4c6c Date: 2011-10-05 10:40 +0200 http://bitbucket.org/pypy/pypy/changeset/4125c33b4c6c/ Log:The ticker does not necessarily decrease by one. it depends on the trace length. diff --git

[pypy-commit] pypy list-strategies: don't rely on the file encoding, which seems to be brittle in some situations.

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47827:d9497f6bf240 Date: 2011-10-05 11:11 +0200 http://bitbucket.org/pypy/pypy/changeset/d9497f6bf240/ Log:don't rely on the file encoding, which seems to be brittle in some situations. diff --git

[pypy-commit] pypy list-strategies: making an empty wrapped list takes a lot less allocations now.

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47828:92ccf911530a Date: 2011-10-05 11:25 +0200 http://bitbucket.org/pypy/pypy/changeset/92ccf911530a/ Log:making an empty wrapped list takes a lot less allocations now. diff --git

[pypy-commit] pypy list-strategies: unroll getitem as well, if the list has a constant size.

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47829:d396dfd92356 Date: 2011-10-05 11:45 +0200 http://bitbucket.org/pypy/pypy/changeset/d396dfd92356/ Log:unroll getitem as well, if the list has a constant size. diff --git a/pypy/objspace/std/listobject.py

[pypy-commit] pypy list-strategies: clean up getitem variants a bit

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47830:623e452781d4 Date: 2011-10-05 11:51 +0200 http://bitbucket.org/pypy/pypy/changeset/623e452781d4/ Log:clean up getitem variants a bit diff --git a/pypy/objspace/std/listobject.py

[pypy-commit] pypy list-strategies: add a space.newlist_str method that can be used to wrap a list of unwrapped

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47832:36b7b2d1a3d8 Date: 2011-10-05 13:59 +0200 http://bitbucket.org/pypy/pypy/changeset/36b7b2d1a3d8/ Log:add a space.newlist_str method that can be used to wrap a list of unwrapped strings. implement a

[pypy-commit] pypy list-strategies: add a new space method listview_str which returns None except if the argument

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47831:547bc8141987 Date: 2011-10-05 13:29 +0200 http://bitbucket.org/pypy/pypy/changeset/547bc8141987/ Log:add a new space method listview_str which returns None except if the argument is a list using the

[pypy-commit] pypy list-strategies: that means we can now use the split in rlib.rstring

2011-10-05 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r47833:05b957a9d0ad Date: 2011-10-05 14:05 +0200 http://bitbucket.org/pypy/pypy/changeset/05b957a9d0ad/ Log:that means we can now use the split in rlib.rstring diff --git a/pypy/objspace/std/stringobject.py

[pypy-commit] pypy default: merge

2011-10-10 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r47920:9afae5e2f69a Date: 2011-10-10 13:16 +0200 http://bitbucket.org/pypy/pypy/changeset/9afae5e2f69a/ Log:merge diff --git a/pypy/jit/metainterp/heapcache.py b/pypy/jit/metainterp/heapcache.py ---

[pypy-commit] pypy default: Bad Alex, no cookies: deal with recursive virtuals.

2011-10-10 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r47919:cc2e72d09e18 Date: 2011-10-09 21:10 +0200 http://bitbucket.org/pypy/pypy/changeset/cc2e72d09e18/ Log:Bad Alex, no cookies: deal with recursive virtuals. (you should have read the Allocation Removal paper better: the

[pypy-commit] pypy default: fix untranslatable total nonsense in zfill

2011-10-14 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48053:c29a0415adb7 Date: 2011-10-14 14:53 +0200 http://bitbucket.org/pypy/pypy/changeset/c29a0415adb7/ Log:fix untranslatable total nonsense in zfill diff --git a/pypy/objspace/std/stringobject.py

[pypy-commit] pypy default: fix failing tests

2011-10-18 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48193:31c39356de7a Date: 2011-10-18 09:54 +0200 http://bitbucket.org/pypy/pypy/changeset/31c39356de7a/ Log:fix failing tests diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py

[pypy-commit] pypy default: makes no sense to synthesize the reverse ops for operations that are removed anyway.

2011-10-18 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48194:25b6ee1b8082 Date: 2011-10-18 09:55 +0200 http://bitbucket.org/pypy/pypy/changeset/25b6ee1b8082/ Log:makes no sense to synthesize the reverse ops for operations that are removed anyway. diff --git

[pypy-commit] pypy default: add reverse operations for cast from and to int pointer

2011-10-18 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48195:98e1c25e7b93 Date: 2011-10-18 10:01 +0200 http://bitbucket.org/pypy/pypy/changeset/98e1c25e7b93/ Log:add reverse operations for cast from and to int pointer diff --git a/pypy/jit/metainterp/optimizeopt/rewrite.py

[pypy-commit] pypy default: slightly pointless micro-optimization, but I found the adjective quick in

2011-10-18 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48196:ba7afb49a544 Date: 2011-10-18 10:48 +0200 http://bitbucket.org/pypy/pypy/changeset/ba7afb49a544/ Log:slightly pointless micro-optimization, but I found the adjective quick in this comment too ironic diff --git

[pypy-commit] pypy default: revert 31c39356de7a. armin had fixed it in the meantime.

2011-10-18 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48197:69cffe91b5f4 Date: 2011-10-18 14:09 +0200 http://bitbucket.org/pypy/pypy/changeset/69cffe91b5f4/ Log:revert 31c39356de7a. armin had fixed it in the meantime. diff --git

[pypy-commit] pypy default: quite obscure change: add the linked libraries at the end of the command line.

2011-10-18 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48204:491120610ab3 Date: 2011-10-18 14:43 +0200 http://bitbucket.org/pypy/pypy/changeset/491120610ab3/ Log:quite obscure change: add the linked libraries at the end of the command line. this seems required on Ubuntu 11.10

[pypy-commit] pypy default: a test that rerased works after translation to C, which it didn't, so a fix too.

2011-10-21 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48315:8494d35800e1 Date: 2011-10-21 17:23 +0200 http://bitbucket.org/pypy/pypy/changeset/8494d35800e1/ Log:a test that rerased works after translation to C, which it didn't, so a fix too. diff --git

[pypy-commit] pypy default: (arigo, cfbolz): also split up the nonfuncnodes according to where they are

2011-10-21 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48316:9a6c4ff948c1 Date: 2011-10-21 17:37 +0200 http://bitbucket.org/pypy/pypy/changeset/9a6c4ff948c1/ Log:(arigo, cfbolz): also split up the nonfuncnodes according to where they are used. slightly obscure (just

[pypy-commit] pypy default: merge

2011-10-21 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48317:9718181b5d75 Date: 2011-10-21 17:47 +0200 http://bitbucket.org/pypy/pypy/changeset/9718181b5d75/ Log:merge diff --git a/pypy/translator/c/database.py b/pypy/translator/c/database.py --- a/pypy/translator/c/database.py +++

[pypy-commit] pypy default: (arigo, cfbolz): add sanity checks to make sure that tagged pointers are

2011-10-21 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48319:d33ecc0a1ac0 Date: 2011-10-21 17:58 +0200 http://bitbucket.org/pypy/pypy/changeset/d33ecc0a1ac0/ Log:(arigo, cfbolz): add sanity checks to make sure that tagged pointers are enabled when erase_int is used. diff

[pypy-commit] pypy int-tag-untag-as-operations: a branch where to make int tagging and untagging explicit operations

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48363:63dfc29454a2 Date: 2011-10-22 14:13 +0200 http://bitbucket.org/pypy/pypy/changeset/63dfc29454a2/ Log:a branch where to make int tagging and untagging explicit operations

[pypy-commit] pypy int-tag-untag-as-operations: add a more precise .mul operation on integer bounds.

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48366:c499ddaefd52 Date: 2011-10-24 08:21 +0200 http://bitbucket.org/pypy/pypy/changeset/c499ddaefd52/ Log:add a more precise .mul operation on integer bounds. diff --git

[pypy-commit] pypy int-tag-untag-as-operations: introduce int_tag (which can overflow) and int_untag

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48364:300e42e0ee80 Date: 2011-10-22 14:13 +0200 http://bitbucket.org/pypy/pypy/changeset/300e42e0ee80/ Log:introduce int_tag (which can overflow) and int_untag diff --git

[pypy-commit] pypy int-tag-untag-as-operations: rename the operation to int_tag_ovf

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48368:766299f6042c Date: 2011-10-24 09:01 +0200 http://bitbucket.org/pypy/pypy/changeset/766299f6042c/ Log:rename the operation to int_tag_ovf diff --git a/pypy/jit/backend/llgraph/llimpl.py

[pypy-commit] pypy int-tag-untag-as-operations: each the optimizer that int_tag and int_untag are each others opposites

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48365:52e92200bf93 Date: 2011-10-22 14:23 +0200 http://bitbucket.org/pypy/pypy/changeset/52e92200bf93/ Log:each the optimizer that int_tag and int_untag are each others opposites diff --git

[pypy-commit] pypy int-tag-untag-as-operations: check that operations on untagged integers get their overflow checks removed

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48367:c7b823622f57 Date: 2011-10-24 08:35 +0200 http://bitbucket.org/pypy/pypy/changeset/c7b823622f57/ Log:check that operations on untagged integers get their overflow checks removed diff --git

[pypy-commit] pypy int-tag-untag-as-operations: introduce an no-overflow-check variant int_tag for when the bounds-optimizer

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48369:1a183750ebf7 Date: 2011-10-24 09:07 +0200 http://bitbucket.org/pypy/pypy/changeset/1a183750ebf7/ Log:introduce an no-overflow-check variant int_tag for when the bounds- optimizer finds out

[pypy-commit] pypy int-tag-untag-as-operations: (arigo, cfbolz): implement int_tag, int_tag_ovf and int_untag in the x86 backend

2011-10-24 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48370:30319db8738f Date: 2011-10-24 12:41 +0200 http://bitbucket.org/pypy/pypy/changeset/30319db8738f/ Log:(arigo, cfbolz): implement int_tag, int_tag_ovf and int_untag in the x86 backend diff

[pypy-commit] pypy int-tag-untag-as-operations: woops

2011-10-25 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48428:0ed5fb78f4be Date: 2011-10-25 12:27 +0200 http://bitbucket.org/pypy/pypy/changeset/0ed5fb78f4be/ Log:woops diff --git a/pypy/jit/metainterp/optimizeopt/intbounds.py

[pypy-commit] pypy default: fix(?) small ints by doing more aggressive copying and by implementing some

2011-10-26 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48471:f060ae084c2e Date: 2011-10-26 14:08 +0200 http://bitbucket.org/pypy/pypy/changeset/f060ae084c2e/ Log:fix(?) small ints by doing more aggressive copying and by implementing some operations that don't need overflow

[pypy-commit] pypy default: yet another case of tagged pointer handling in the C backend.

2011-10-26 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48473:990f8f82e063 Date: 2011-10-26 16:31 +0200 http://bitbucket.org/pypy/pypy/changeset/990f8f82e063/ Log:yet another case of tagged pointer handling in the C backend. diff --git a/pypy/translator/c/primitive.py

[pypy-commit] pypy default: add longs as a project idea

2011-10-26 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48474:e8b365c58a38 Date: 2011-10-26 17:00 +0200 http://bitbucket.org/pypy/pypy/changeset/e8b365c58a38/ Log:add longs as a project idea diff --git a/pypy/doc/project-ideas.rst b/pypy/doc/project-ideas.rst ---

[pypy-commit] pypy int-tag-untag-as-operations: make all optimizeopt tests pass

2011-10-27 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48498:5dea661f90f6 Date: 2011-10-25 13:53 +0200 http://bitbucket.org/pypy/pypy/changeset/5dea661f90f6/ Log:make all optimizeopt tests pass diff --git a/pypy/jit/backend/llgraph/llimpl.py

[pypy-commit] pypy int-tag-untag-as-operations: those are also not needed

2011-10-27 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48499:be97182b1a31 Date: 2011-10-27 11:52 +0200 http://bitbucket.org/pypy/pypy/changeset/be97182b1a31/ Log:those are also not needed diff --git a/pypy/jit/metainterp/test/test_immutable.py

[pypy-commit] pypy int-tag-untag-as-operations: make tagged instances use the new operations as well

2011-10-27 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48509:d3b9577c4c08 Date: 2011-10-27 17:27 +0200 http://bitbucket.org/pypy/pypy/changeset/d3b9577c4c08/ Log:make tagged instances use the new operations as well diff --git

[pypy-commit] pypy int-tag-untag-as-operations: move an ll_assert around: cast_ptr_to_int *can* be used on an even pointer (to

2011-10-28 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: int-tag-untag-as-operations Changeset: r48565:4c4642283aff Date: 2011-10-28 16:58 +0200 http://bitbucket.org/pypy/pypy/changeset/4c4642283aff/ Log:move an ll_assert around: cast_ptr_to_int *can* be used on an even pointer (to check

[pypy-commit] pypy default: remove some C-isms

2011-11-02 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: Changeset: r48660:2ac3b6128b0f Date: 2011-11-02 16:07 +0100 http://bitbucket.org/pypy/pypy/changeset/2ac3b6128b0f/ Log:remove some C-isms diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py --- a/pypy/rlib/rbigint.py +++

[pypy-commit] pypy list-strategies: implement a fast path for list.pop() (without arguments)

2011-11-02 Thread cfbolz
Author: Carl Friedrich Bolz cfb...@gmx.de Branch: list-strategies Changeset: r48667:caa63b86e8cf Date: 2011-11-02 18:19 +0100 http://bitbucket.org/pypy/pypy/changeset/caa63b86e8cf/ Log:implement a fast path for list.pop() (without arguments) diff --git a/pypy/objspace/std/listobject.py

  1   2   3   4   5   6   7   8   9   10   >