[pypy-commit] pypy value-profiling: fix the interaction between record_exact_class and the heapcache

2016-01-20 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81881:7a18372094c5 Date: 2016-01-21 08:23 +0100 http://bitbucket.org/pypy/pypy/changeset/7a18372094c5/ Log:fix the interaction between record_exact_class and the heapcache diff --git a/rpython/jit/metainterp/heapcache.py b/rpyt

[pypy-commit] pypy value-profiling: fix test_pypy_c tests

2016-01-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81882:7dfb24f5e8c5 Date: 2016-01-21 09:03 +0100 http://bitbucket.org/pypy/pypy/changeset/7dfb24f5e8c5/ Log:fix test_pypy_c tests diff --git a/pypy/module/pypyjit/test_pypy_c/test_00_model.py b/pypy/module/pypyjit/test_pypy_c/te

[pypy-commit] pypy value-profiling: a test for lists of known types

2016-01-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81890:09164c7f58aa Date: 2016-01-21 13:58 +0100 http://bitbucket.org/pypy/pypy/changeset/09164c7f58aa/ Log:a test for lists of known types diff --git a/pypy/module/pypyjit/test_pypy_c/test_containers.py b/pypy/module/pypyjit/te

[pypy-commit] pypy value-profiling: add some tests about the new instance features

2016-01-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81888:d9d8458cbfb3 Date: 2016-01-21 09:23 +0100 http://bitbucket.org/pypy/pypy/changeset/d9d8458cbfb3/ Log:add some tests about the new instance features diff --git a/pypy/module/pypyjit/test_pypy_c/test_instance.py b/pypy/modu

[pypy-commit] pypy value-profiling: test write_necessary and make see_write return nothing

2016-01-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81891:5812c89de335 Date: 2016-01-21 18:21 +0100 http://bitbucket.org/pypy/pypy/changeset/5812c89de335/ Log:test write_necessary and make see_write return nothing diff --git a/pypy/interpreter/test/test_valueprof.py b/pypy/inter

[pypy-commit] pypy value-profiling: move the valueprof to rlib

2016-01-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81893:cfa89ffc2f8a Date: 2016-01-21 18:37 +0100 http://bitbucket.org/pypy/pypy/changeset/cfa89ffc2f8a/ Log:move the valueprof to rlib diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/s

[pypy-commit] pypy value-profiling: document the profiler

2016-01-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81892:6fb5c569a60c Date: 2016-01-21 18:34 +0100 http://bitbucket.org/pypy/pypy/changeset/6fb5c569a60c/ Log:document the profiler diff --git a/pypy/interpreter/valueprof.py b/pypy/interpreter/valueprof.py --- a/pypy/interpreter/v

[pypy-commit] pypy value-profiling: rename valueprof to heapprof

2016-01-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81894:b6d1c55ce142 Date: 2016-01-21 18:39 +0100 http://bitbucket.org/pypy/pypy/changeset/b6d1c55ce142/ Log:rename valueprof to heapprof diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace

[pypy-commit] pypy value-profiling: another one, for loop constants

2016-01-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81889:28a4d2d1f711 Date: 2016-01-21 13:51 +0100 http://bitbucket.org/pypy/pypy/changeset/28a4d2d1f711/ Log:another one, for loop constants diff --git a/pypy/module/pypyjit/test_pypy_c/test_call.py b/pypy/module/pypyjit/test_pyp

[pypy-commit] pypy value-profiling: fix translation by killing dead import

2016-01-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81896:cf041c3153dd Date: 2016-01-21 21:49 +0100 http://bitbucket.org/pypy/pypy/changeset/cf041c3153dd/ Log:fix translation by killing dead import diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py --- a/pypy/in

[pypy-commit] pypy value-profiling: test and fix for write_necessary logic when mixing ints and objects

2016-01-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81902:c1866643eecd Date: 2016-01-22 09:13 +0100 http://bitbucket.org/pypy/pypy/changeset/c1866643eecd/ Log:test and fix for write_necessary logic when mixing ints and objects diff --git a/rpython/rlib/heapprof.py b/rpython/rlib/

[pypy-commit] pypy value-profiling: test that found the problem of the previous commit

2016-01-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81903:7e6dd66f2318 Date: 2016-01-22 09:17 +0100 http://bitbucket.org/pypy/pypy/changeset/7e6dd66f2318/ Log:test that found the problem of the previous commit diff --git a/pypy/objspace/std/test/test_mapdict.py b/pypy/objspace/s

[pypy-commit] pypy value-profiling: fix interaction of known class lists and cpyext

2016-01-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: value-profiling Changeset: r81923:f66ef9ad7656 Date: 2016-01-22 17:47 +0100 http://bitbucket.org/pypy/pypy/changeset/f66ef9ad7656/ Log:fix interaction of known class lists and cpyext diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobje

[pypy-commit] pypy default: fix typo

2016-01-31 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82017:8a7217a547e2 Date: 2016-01-31 18:37 +0100 http://bitbucket.org/pypy/pypy/changeset/8a7217a547e2/ Log:fix typo diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject.py +++ b/pypy/ob

[pypy-commit] pypy default: duh, check the index first(!)

2016-01-31 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82018:3fe07a7b1c13 Date: 2016-01-31 19:10 +0100 http://bitbucket.org/pypy/pypy/changeset/3fe07a7b1c13/ Log:duh, check the index first(!) diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict.p

[pypy-commit] pypy default: this comment is outdated now

2016-01-31 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82019:a71c1f3776a9 Date: 2016-01-31 19:11 +0100 http://bitbucket.org/pypy/pypy/changeset/a71c1f3776a9/ Log:this comment is outdated now diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict.py

[pypy-commit] pypy default: just support exactly the same colors as graphviz

2016-02-04 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82081:b1f915c79644 Date: 2016-02-04 16:22 +0100 http://bitbucket.org/pypy/pypy/changeset/b1f915c79644/ Log:just support exactly the same colors as graphviz diff --git a/dotviewer/drawgraph.py b/dotviewer/drawgraph.py --- a/dotviewer/drawgraph.

[pypy-commit] pypy default: the ll_assert has the condition wrong :-(

2016-02-04 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82080:246d32e32de9 Date: 2016-02-04 14:57 +0100 http://bitbucket.org/pypy/pypy/changeset/246d32e32de9/ Log:the ll_assert has the condition wrong :-( diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py --- a/rpython/rlib/jit.py +++ b/rpython

[pypy-commit] pypy statistics-maps: a script to turn map stats files into dot files

2016-02-09 Thread cfbolz
Author: Carl Friedrich Bolz Branch: statistics-maps Changeset: r82122:84c6a5b5979f Date: 2016-02-09 09:28 +0100 http://bitbucket.org/pypy/pypy/changeset/84c6a5b5979f/ Log:a script to turn map stats files into dot files diff --git a/pypy/tool/mapstatsdot.py b/pypy/tool/mapstatsdot.py new file

[pypy-commit] pypy statistics-maps: add some code to print statistics about maps

2016-02-09 Thread cfbolz
Author: Carl Friedrich Bolz Branch: statistics-maps Changeset: r82121:8b18aadfc032 Date: 2016-02-09 09:18 +0100 http://bitbucket.org/pypy/pypy/changeset/8b18aadfc032/ Log:add some code to print statistics about maps diff --git a/pypy/bin/pyinteractive.py b/pypy/bin/pyinteractive.py --- a/pyp

[pypy-commit] pypy statistics-maps: merge default

2016-02-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: statistics-maps Changeset: r82171:dae74bd53702 Date: 2016-02-12 12:34 +0100 http://bitbucket.org/pypy/pypy/changeset/dae74bd53702/ Log:merge default diff too long, truncating to 2000 out of 9916 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +++

[pypy-commit] pypy statistics-maps: weed out some fake transitions, log size_estimate, fix some corner cases, draw back arrow

2016-02-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: statistics-maps Changeset: r82170:c5af13624160 Date: 2016-02-12 12:32 +0100 http://bitbucket.org/pypy/pypy/changeset/c5af13624160/ Log:weed out some fake transitions, log size_estimate, fix some corner cases, draw back arrow diff --git a/pypy/objsp

[pypy-commit] pypy reorder-map-attributes: a failing test of an example that reorders infinitely often

2016-02-15 Thread cfbolz
Author: Carl Friedrich Bolz Branch: reorder-map-attributes Changeset: r82254:433dbd99e066 Date: 2016-02-14 17:30 +0100 http://bitbucket.org/pypy/pypy/changeset/433dbd99e066/ Log:a failing test of an example that reorders infinitely often diff --git a/pypy/objspace/std/test/test_mapdict.py b

[pypy-commit] pypy reorder-map-attributes: a tweak to the algorithm to solve the problem of infinite reorderings more thoroughly

2016-02-15 Thread cfbolz
Author: Carl Friedrich Bolz Branch: reorder-map-attributes Changeset: r82255:3387e677ff14 Date: 2016-02-15 00:46 +0100 http://bitbucket.org/pypy/pypy/changeset/3387e677ff14/ Log:a tweak to the algorithm to solve the problem of infinite reorderings more thoroughly diff --git a/pypy/ob

[pypy-commit] pypy reorder-map-attributes: refactor: actually introduce a really elidable function (as opposed to a fake

2016-02-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: reorder-map-attributes Changeset: r82281:b2cf73983594 Date: 2016-02-16 10:01 + http://bitbucket.org/pypy/pypy/changeset/b2cf73983594/ Log:refactor: actually introduce a really elidable function (as opposed to a fake one) diff --git a/pypy/objsp

[pypy-commit] pypy reorder-map-attributes: only use one stack

2016-02-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: reorder-map-attributes Changeset: r82282:b4c08e1a3819 Date: 2016-02-16 14:08 + http://bitbucket.org/pypy/pypy/changeset/b4c08e1a3819/ Log:only use one stack diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/st

[pypy-commit] pypy statistics-maps: log the module

2016-02-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: statistics-maps Changeset: r82293:5d1a96a22de4 Date: 2016-02-13 21:40 +0100 http://bitbucket.org/pypy/pypy/changeset/5d1a96a22de4/ Log:log the module diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict.p

[pypy-commit] pypy statistics-maps: add some jit_debug ops to try to understand more closely what is happening

2016-02-16 Thread cfbolz
Author: Carl Friedrich Bolz Branch: statistics-maps Changeset: r82294:cf743d3a034e Date: 2016-02-16 18:44 +0100 http://bitbucket.org/pypy/pypy/changeset/cf743d3a034e/ Log:add some jit_debug ops to try to understand more closely what is happening diff --git a/pypy/objspace/std/mapdict

[pypy-commit] extradoc extradoc: (all) planning for today

2016-02-21 Thread cfbolz
/planning.txt new file mode 100644 --- /dev/null +++ b/sprintinfo/leysin-winter-2016/planning.txt @@ -0,0 +1,32 @@ +Tasks += + +- mercurial benchmarks on PyPy (fijal, marmoute, cfbolz around) +- merging cpyext-ext, numpy-on-cpyext (mattip, ronan, arigo around) +- jit leaner frontend +- maps reordering

[pypy-commit] pypy default: (arigo, cfbolz): don't use __slots__ as storage for fixed sized arrays

2016-02-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82365:4a97212b2ecf Date: 2016-02-21 15:07 +0100 http://bitbucket.org/pypy/pypy/changeset/4a97212b2ecf/ Log:(arigo, cfbolz): don't use __slots__ as storage for fixed sized arrays diff --git a/rpython/rtyper/lltypesystem/ll2ctypes.

[pypy-commit] pypy default: (cfbolz, arigo): kill unused line

2016-02-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82366:4cb232f5380b Date: 2016-02-21 15:12 +0100 http://bitbucket.org/pypy/pypy/changeset/4cb232f5380b/ Log:(cfbolz, arigo): kill unused line diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/lltypesystem/lltype.py --- a

[pypy-commit] pypy default: (arigo, cfbolz, mattip around): kill a dead function

2016-02-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82367:90ab95428105 Date: 2016-02-21 15:13 +0100 http://bitbucket.org/pypy/pypy/changeset/90ab95428105/ Log:(arigo, cfbolz, mattip around): kill a dead function diff --git a/pypy/interpreter/typedef.py b/pypy/interpreter/typedef.py --- a/pypy

[pypy-commit] pypy default: reduce all guards from int_floordiv_ovf if one of the arguments is constant

2016-02-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82369:4ee6b2b67a6b Date: 2016-02-21 17:27 +0100 http://bitbucket.org/pypy/pypy/changeset/4ee6b2b67a6b/ Log:reduce all guards from int_floordiv_ovf if one of the arguments is constant (completely random old diff I had lying arou

[pypy-commit] pypy default: (fijal, cfbolz): kill the promote_string in typeobject, it leads to huge

2016-02-21 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82375:40f823984bbf Date: 2016-02-21 22:47 +0100 http://bitbucket.org/pypy/pypy/changeset/40f823984bbf/ Log:(fijal, cfbolz): kill the promote_string in typeobject, it leads to huge problems in code that uses getattr a lot (and doesn&#

[pypy-commit] pypy default: (cfbolz, fijal around) kill test belonging to 40f823984bbf

2016-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82383:d883e5c610d6 Date: 2016-02-22 11:03 +0100 http://bitbucket.org/pypy/pypy/changeset/d883e5c610d6/ Log:(cfbolz, fijal around) kill test belonging to 40f823984bbf diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module

[pypy-commit] pypy default: fix fallout from 4ee6b2b67a6b

2016-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82382:47e7d8d28c74 Date: 2016-02-22 11:00 +0100 http://bitbucket.org/pypy/pypy/changeset/47e7d8d28c74/ Log:fix fallout from 4ee6b2b67a6b diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py b/pypy/module/pypyjit/test_pypy_c/test_string

[pypy-commit] pypy reorder-map-attributes: close to-be-merged branch

2016-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: reorder-map-attributes Changeset: r82385:8a729799f9ef Date: 2016-02-22 11:49 +0100 http://bitbucket.org/pypy/pypy/changeset/8a729799f9ef/ Log:close to-be-merged branch ___ pypy-commit mailing list pypy-commit@pyt

[pypy-commit] pypy reorder-map-attributes: what's new entry

2016-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: reorder-map-attributes Changeset: r82384:435c07e47188 Date: 2016-02-22 11:14 +0100 http://bitbucket.org/pypy/pypy/changeset/435c07e47188/ Log:what's new entry diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head

[pypy-commit] pypy default: merge reorder-map-attributes:

2016-02-22 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82386:572984f4ec26 Date: 2016-02-22 11:53 +0100 http://bitbucket.org/pypy/pypy/changeset/572984f4ec26/ Log:merge reorder-map-attributes: when creating an instance with attributes in a different order than some previously existi

[pypy-commit] pypy default: (fijal, cfbolz): make it possible to insert enter_portal_frame and

2016-02-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82453:97c9937d38ad Date: 2016-02-23 18:00 +0100 http://bitbucket.org/pypy/pypy/changeset/97c9937d38ad/ Log:(fijal, cfbolz): make it possible to insert enter_portal_frame and leave_portal_frame explicitly, for the weird interpreters

[pypy-commit] pypy statistics-maps: update contributor list

2016-02-23 Thread cfbolz
Author: Carl Friedrich Bolz Branch: statistics-maps Changeset: r82458:6ed007073e26 Date: 2016-02-23 18:32 +0100 http://bitbucket.org/pypy/pypy/changeset/6ed007073e26/ Log:update contributor list diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -41,29 +41,29 @@ Amaury Forgeot

[pypy-commit] pypy default: kill some no longer needed indirection

2016-02-26 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82559:d9671adc681a Date: 2016-02-26 13:14 +0100 http://bitbucket.org/pypy/pypy/changeset/d9671adc681a/ Log:kill some no longer needed indirection diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/

[pypy-commit] pypy default: (cfbolz, arigo): have a test that we don't import pypy. from rpython/

2016-02-26 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82564:96b63fbec213 Date: 2016-02-26 14:14 +0100 http://bitbucket.org/pypy/pypy/changeset/96b63fbec213/ Log:(cfbolz, arigo): have a test that we don't import pypy. from rpython/ diff --git a/pypy/tool/test/test_tab.py b/pypy/tool

[pypy-commit] pypy default: merge

2016-03-01 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82633:cb435db64836 Date: 2016-03-01 13:33 +0100 http://bitbucket.org/pypy/pypy/changeset/cb435db64836/ Log:merge diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject.py +++ b/pypy/objsp

[pypy-commit] pypy default: remove a guard from str.count

2016-03-01 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82632:8d422c65fe9a Date: 2016-02-27 16:52 +0100 http://bitbucket.org/pypy/pypy/changeset/8d422c65fe9a/ Log:remove a guard from str.count diff --git a/rpython/rtyper/lltypesystem/rstr.py b/rpython/rtyper/lltypesystem/rstr.py --- a/rpython/rtyp

[pypy-commit] pypy default: fix typo

2016-03-01 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82631:8855d18e3957 Date: 2016-02-27 11:37 +0100 http://bitbucket.org/pypy/pypy/changeset/8855d18e3957/ Log:fix typo diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject.py +++ b/pypy/ob

[pypy-commit] pypy default: kill two tests that were important for an older module dict implementation

2016-03-02 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82651:61022b28fd0f Date: 2016-03-01 15:27 +0100 http://bitbucket.org/pypy/pypy/changeset/61022b28fd0f/ Log:kill two tests that were important for an older module dict implementation approach diff --git a/pypy/objspace/std/test/test_cel

[pypy-commit] pypy default: make test_setdefault_fast pass with celldicts on pypy

2016-03-02 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82652:5213e8be2304 Date: 2016-03-02 12:31 +0100 http://bitbucket.org/pypy/pypy/changeset/5213e8be2304/ Log:make test_setdefault_fast pass with celldicts on pypy - reduce the nubmer of hash calls from 3 to 2 - since reducing it t

[pypy-commit] pypy default: test a sensible argument to the --jit option

2016-03-03 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82671:634581f24c02 Date: 2016-03-02 17:21 +0100 http://bitbucket.org/pypy/pypy/changeset/634581f24c02/ Log:test a sensible argument to the --jit option diff --git a/pypy/interpreter/test/test_app_main.py b/pypy/interpreter/test/test_app_main.

[pypy-commit] pypy default: disable the setdefault test on kwargs dicts, it doesn't make sense there

2016-03-03 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82670:618d06ca2419 Date: 2016-03-02 12:41 +0100 http://bitbucket.org/pypy/pypy/changeset/618d06ca2419/ Log:disable the setdefault test on kwargs dicts, it doesn't make sense there diff --git a/pypy/objspace/std/test/test_kwargsdict.py

[pypy-commit] pypy speed-up-stringsearch: try to split ll_search into two elidable functions, one of which only depends on the search string

2016-03-03 Thread cfbolz
Author: Carl Friedrich Bolz Branch: speed-up-stringsearch Changeset: r82672:37cc19e3dcb4 Date: 2016-02-27 17:01 +0100 http://bitbucket.org/pypy/pypy/changeset/37cc19e3dcb4/ Log:try to split ll_search into two elidable functions, one of which only depends on the search string diff --g

[pypy-commit] pypy bigint-with-int-ops: close branch that was merged long ago

2016-03-04 Thread cfbolz
Author: Carl Friedrich Bolz Branch: bigint-with-int-ops Changeset: r82767:23e336d3e045 Date: 2016-03-04 15:53 +0100 http://bitbucket.org/pypy/pypy/changeset/23e336d3e045/ Log:close branch that was merged long ago ___ pypy-commit mailing list pypy-c

[pypy-commit] pypy default: a somewhat messy improvement of re.sub. makes simple things 3x faster (not

2016-03-04 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82778:a4e20be9d315 Date: 2016-03-04 10:27 +0100 http://bitbucket.org/pypy/pypy/changeset/a4e20be9d315/ Log:a somewhat messy improvement of re.sub. makes simple things 3x faster (not quite beating CPython) diff --git a/pypy/module/_sre/

[pypy-commit] pypy default: don't go via the less efficient BufMatchContext if the string is simply a str

2016-03-04 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82777:2fa325cdc340 Date: 2016-03-03 21:32 +0100 http://bitbucket.org/pypy/pypy/changeset/2fa325cdc340/ Log:don't go via the less efficient BufMatchContext if the string is simply a str diff --git a/pypy/module/_sre/interp_sre.py b/pypy

[pypy-commit] pypy default: add a jit driver (unfortunately I can't use autoreds because of the green field

2016-03-04 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82779:b068f288af89 Date: 2016-03-04 15:43 +0100 http://bitbucket.org/pypy/pypy/changeset/b068f288af89/ Log:add a jit driver (unfortunately I can't use autoreds because of the green field usage :-( ) diff --git a/pypy/module/_sre/interp

[pypy-commit] pypy global-cell-cache: another one

2016-03-05 Thread cfbolz
Author: Carl Friedrich Bolz Branch: global-cell-cache Changeset: r82784:b51b594a5d13 Date: 2016-03-05 13:32 +0100 http://bitbucket.org/pypy/pypy/changeset/b51b594a5d13/ Log:another one diff --git a/pypy/objspace/std/celldict.py b/pypy/objspace/std/celldict.py --- a/pypy/objspace/std/celldict

[pypy-commit] pypy default: implement super.__thisclass__

2016-03-05 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82785:03f7d9255635 Date: 2016-03-05 13:37 +0100 http://bitbucket.org/pypy/pypy/changeset/03f7d9255635/ Log:implement super.__thisclass__ diff --git a/pypy/module/__builtin__/descriptor.py b/pypy/module/__builtin__/descriptor.py --- a/pypy/mod

[pypy-commit] pypy default: define a constant for the shift amount of the id tagging

2016-03-05 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82787:73814b195ba5 Date: 2016-03-05 14:29 +0100 http://bitbucket.org/pypy/pypy/changeset/73814b195ba5/ Log:define a constant for the shift amount of the id tagging diff --git a/pypy/objspace/std/complexobject.py b/pypy/objspace/std/complexobj

[pypy-commit] pypy default: skip a few things when running under appdirect that CPython does differently

2016-03-05 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82786:9195aec38e3f Date: 2016-03-05 13:56 +0100 http://bitbucket.org/pypy/pypy/changeset/9195aec38e3f/ Log:skip a few things when running under appdirect that CPython does differently (error messages) or does not support diff --git a/p

[pypy-commit] pypy default: make method identity the same as equality (since people seem to do stuff like

2016-03-05 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82793:666871b885d9 Date: 2016-03-05 17:58 +0100 http://bitbucket.org/pypy/pypy/changeset/666871b885d9/ Log:make method identity the same as equality (since people seem to do stuff like cls.__repr__ is object.__repr__, see issue #2253)

[pypy-commit] pypy default: gah, fix typo

2016-03-05 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82802:3273c7f02b47 Date: 2016-03-05 19:46 +0100 http://bitbucket.org/pypy/pypy/changeset/3273c7f02b47/ Log:gah, fix typo diff --git a/pypy/interpreter/function.py b/pypy/interpreter/function.py --- a/pypy/interpreter/function.py +++ b/pypy/int

[pypy-commit] pypy default: fix identity tests

2016-03-05 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82803:c7cc35224c29 Date: 2016-03-05 23:42 +0100 http://bitbucket.org/pypy/pypy/changeset/c7cc35224c29/ Log:fix identity tests diff --git a/pypy/objspace/std/test/test_obj.py b/pypy/objspace/std/test/test_obj.py --- a/pypy/objspace/std/test/te

[pypy-commit] pypy default: trying to fix issue #2083 (see the test). This is a somewhat experimental

2016-03-05 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82804:395abeb42996 Date: 2016-03-06 00:20 +0100 http://bitbucket.org/pypy/pypy/changeset/395abeb42996/ Log:trying to fix issue #2083 (see the test). This is a somewhat experimental check-in: I couldn't find a failing test caused by the

[pypy-commit] pypy release-5.x: use upper case more

2016-03-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: release-5.x Changeset: r82838:d7fe9ed4eb8f Date: 2016-03-07 09:41 +0100 http://bitbucket.org/pypy/pypy/changeset/d7fe9ed4eb8f/ Log:use upper case more diff --git a/pypy/doc/release-5.0.0.rst b/pypy/doc/release-5.0.0.rst --- a/pypy/doc/release-5.0.0.rst +++

[pypy-commit] pypy default: split performance improvements from refactorings

2016-03-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82862:b5226bfbeb24 Date: 2016-03-07 19:23 +0100 http://bitbucket.org/pypy/pypy/changeset/b5226bfbeb24/ Log:split performance improvements from refactorings diff --git a/pypy/doc/release-5.0.0.rst b/pypy/doc/release-5.0.0.rst --- a/pypy/doc/rel

[pypy-commit] pypy default: whitespace cleanup, typo, extend one point

2016-03-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82863:0ea92ff6957c Date: 2016-03-07 19:24 +0100 http://bitbucket.org/pypy/pypy/changeset/0ea92ff6957c/ Log:whitespace cleanup, typo, extend one point diff --git a/pypy/doc/release-5.0.0.rst b/pypy/doc/release-5.0.0.rst --- a/pypy/doc/release-5

[pypy-commit] pypy default: use upper case more

2016-03-07 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82867:937e32c2f31c Date: 2016-03-07 09:41 +0100 http://bitbucket.org/pypy/pypy/changeset/937e32c2f31c/ Log:use upper case more diff --git a/pypy/doc/release-5.0.0.rst b/pypy/doc/release-5.0.0.rst --- a/pypy/doc/release-5.0.0.rst +++ b/pypy/doc

[pypy-commit] pypy default: re-set debug to True to make sure that subsequent asserts work

2016-03-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82991:c7b41222937f Date: 2016-03-12 10:32 +0100 http://bitbucket.org/pypy/pypy/changeset/c7b41222937f/ Log:re-set debug to True to make sure that subsequent asserts work diff --git a/pypy/interpreter/test/test_app_main.py b/pypy/interpreter/t

[pypy-commit] pypy default: we don't support python 2.5 any more

2016-03-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r82990:075aea373fa9 Date: 2016-03-12 10:11 +0100 http://bitbucket.org/pypy/pypy/changeset/075aea373fa9/ Log:we don't support python 2.5 any more diff --git a/rpython/jit/codewriter/test/test_jtransform.py b/rpython/jit/codewriter/test/test_jtr

[pypy-commit] pypy guard-compatible: improve test a bit

2016-03-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83004:d2ba8721ddfc Date: 2016-03-12 23:24 +0100 http://bitbucket.org/pypy/pypy/changeset/d2ba8721ddfc/ Log:improve test a bit diff --git a/rpython/jit/metainterp/optimizeopt/test/test_compatible.py b/rpython/jit/metainterp/opt

[pypy-commit] pypy guard-compatible: in-progress: tracing support for guard_compatible, also some sketched code for

2016-03-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83003:818cabf99bbf Date: 2016-03-12 23:02 +0100 http://bitbucket.org/pypy/pypy/changeset/818cabf99bbf/ Log:in-progress: tracing support for guard_compatible, also some sketched code for how failures and checking of the c

[pypy-commit] pypy guard-compatible: a new decorator elidable_compatible, with a docstring how I want things to work

2016-03-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83000:1fb0c5a8a04e Date: 2016-03-12 22:38 +0100 http://bitbucket.org/pypy/pypy/changeset/1fb0c5a8a04e/ Log:a new decorator elidable_compatible, with a docstring how I want things to work diff --git a/rpython/rlib/jit.py

[pypy-commit] pypy guard-compatible: some optimization support for guard_compatible, including storing which

2016-03-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83002:03482b008a97 Date: 2016-03-12 23:00 +0100 http://bitbucket.org/pypy/pypy/changeset/03482b008a97/ Log:some optimization support for guard_compatible, including storing which elidable functions were applied to its ar

[pypy-commit] pypy guard-compatible: a branch to explore implementing a guard_compatible

2016-03-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r82999:a6612658cd4d Date: 2016-03-12 22:37 +0100 http://bitbucket.org/pypy/pypy/changeset/a6612658cd4d/ Log:a branch to explore implementing a guard_compatible ___ pypy-commit mailing

[pypy-commit] pypy guard-compatible: support for promote_compatible in the codewriter

2016-03-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83001:889f0fd17c1a Date: 2016-03-12 22:47 +0100 http://bitbucket.org/pypy/pypy/changeset/889f0fd17c1a/ Log:support for promote_compatible in the codewriter diff --git a/rpython/jit/codewriter/jtransform.py b/rpython/jit/codewr

[pypy-commit] pypy guard-compatible: a new CPU interface for guard_compatible, a test for it and an llgraph

2016-03-13 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83008:8969fdd0d8d4 Date: 2016-03-13 13:43 +0100 http://bitbucket.org/pypy/pypy/changeset/8969fdd0d8d4/ Log:a new CPU interface for guard_compatible, a test for it and an llgraph implementation diff --git a/rpython/jit/b

[pypy-commit] pypy guard-compatible: use the new CPU interface

2016-03-13 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83009:d086871396dd Date: 2016-03-13 13:54 +0100 http://bitbucket.org/pypy/pypy/changeset/d086871396dd/ Log:use the new CPU interface diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py --- a/rpyt

[pypy-commit] pypy guard-compatible: a first stab at using elidable_compatible in mapdict.py

2016-03-13 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83010:907d767133db Date: 2016-03-13 14:42 +0100 http://bitbucket.org/pypy/pypy/changeset/907d767133db/ Log:a first stab at using elidable_compatible in mapdict.py diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/ma

[pypy-commit] pypy guard-compatible: check that even if there are two guard_compatibles, the conditions end up on

2016-03-13 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83015:f0e5ad960ab7 Date: 2016-03-13 18:16 +0100 http://bitbucket.org/pypy/pypy/changeset/f0e5ad960ab7/ Log:check that even if there are two guard_compatibles, the conditions end up on only one diff --git a/rpython/jit/m

[pypy-commit] pypy guard-compatible: test interaction with guard_compatible if the elidable function raises (it's

2016-03-13 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83017:27576d755874 Date: 2016-03-13 18:39 +0100 http://bitbucket.org/pypy/pypy/changeset/27576d755874/ Log:test interaction with guard_compatible if the elidable function raises (it's never compatible then) diff --git a

[pypy-commit] pypy guard-compatible: a test for the interaction of guard_compatible and guard_class

2016-03-13 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83016:ac2efcf3d81a Date: 2016-03-13 18:31 +0100 http://bitbucket.org/pypy/pypy/changeset/ac2efcf3d81a/ Log:a test for the interaction of guard_compatible and guard_class diff --git a/rpython/jit/metainterp/optimizeopt/optimizer

[pypy-commit] pypy guard-compatible: emitting guard_value after guard_compatible replaces the guard_compatible

2016-03-13 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83014:4f6cf238e74a Date: 2016-03-13 18:06 +0100 http://bitbucket.org/pypy/pypy/changeset/4f6cf238e74a/ Log:emitting guard_value after guard_compatible replaces the guard_compatible diff --git a/rpython/jit/metainterp/op

[pypy-commit] pypy guard-compatible: implement the boring part of guard_compatible

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83028:2567141c9d53 Date: 2016-03-14 10:03 +0100 http://bitbucket.org/pypy/pypy/changeset/2567141c9d53/ Log:implement the boring part of guard_compatible (which is exactly like guard_value :-)) diff --git a/rpython/jit/b

[pypy-commit] pypy guard-compatible: remove pdb, remove outdated comment

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83034:4ce22e96aeb4 Date: 2016-03-14 11:36 +0100 http://bitbucket.org/pypy/pypy/changeset/4ce22e96aeb4/ Log:remove pdb, remove outdated comment diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py

[pypy-commit] pypy guard-compatible: update to new interface

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83035:5eebc249f313 Date: 2016-03-14 12:24 +0100 http://bitbucket.org/pypy/pypy/changeset/5eebc249f313/ Log:update to new interface diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py --- a/rpytho

[pypy-commit] pypy guard-compatible: the ptrinfo might not exist at all

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83036:6ae43da2bb1b Date: 2016-03-14 12:52 +0100 http://bitbucket.org/pypy/pypy/changeset/6ae43da2bb1b/ Log:the ptrinfo might not exist at all diff --git a/rpython/jit/metainterp/optimizeopt/pure.py b/rpython/jit/metainterp/opt

[pypy-commit] pypy guard-compatible: missing import

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83037:f6680e0a34d7 Date: 2016-03-14 13:24 +0100 http://bitbucket.org/pypy/pypy/changeset/f6680e0a34d7/ Log:missing import diff --git a/rpython/jit/metainterp/optimizeopt/pure.py b/rpython/jit/metainterp/optimizeopt/pure.py ---

[pypy-commit] pypy guard-compatible: fix

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83038:66858a12701d Date: 2016-03-14 12:02 + http://bitbucket.org/pypy/pypy/changeset/66858a12701d/ Log:fix diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict.py +++ b/py

[pypy-commit] pypy guard-compatible: translation fixes

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83042:eed34dd847a5 Date: 2016-03-14 15:28 + http://bitbucket.org/pypy/pypy/changeset/eed34dd847a5/ Log:translation fixes diff --git a/rpython/jit/metainterp/compatible.py b/rpython/jit/metainterp/compatible.py --- a/rpytho

[pypy-commit] pypy guard-compatible: grumble, of course the llgraph tests work anyway

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83043:2c3489492545 Date: 2016-03-14 17:17 +0100 http://bitbucket.org/pypy/pypy/changeset/2c3489492545/ Log:grumble, of course the llgraph tests work anyway diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainter

[pypy-commit] pypy guard-compatible: make sure that the test fails if grow_guard_compatible_switch does nothing by

2016-03-14 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83045:25a9cbb2f43b Date: 2016-03-14 18:48 +0100 http://bitbucket.org/pypy/pypy/changeset/25a9cbb2f43b/ Log:make sure that the test fails if grow_guard_compatible_switch does nothing by checking that the elidable function

[pypy-commit] pypy guard-compatible: remove two more promotes

2016-03-15 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83067:1b4c7fac81be Date: 2016-03-15 10:11 +0100 http://bitbucket.org/pypy/pypy/changeset/1b4c7fac81be/ Log:remove two more promotes diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/st

[pypy-commit] pypy guard-compatible: avoid some operations

2016-03-15 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83070:cadb6f1c1225 Date: 2016-03-15 14:49 +0100 http://bitbucket.org/pypy/pypy/changeset/cadb6f1c1225/ Log:avoid some operations diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/m

[pypy-commit] pypy guard-compatible: nonsense

2016-03-15 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83071:24d702fa2df4 Date: 2016-03-15 15:02 +0100 http://bitbucket.org/pypy/pypy/changeset/24d702fa2df4/ Log:nonsense diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict.py +++

[pypy-commit] pypy default: fix link (thanks Edd)

2016-03-18 Thread cfbolz
Author: Carl Friedrich Bolz Branch: Changeset: r83081:1fd8429ed560 Date: 2016-03-16 13:06 + http://bitbucket.org/pypy/pypy/changeset/1fd8429ed560/ Log:fix link (thanks Edd) diff --git a/pypy/doc/extradoc.rst b/pypy/doc/extradoc.rst --- a/pypy/doc/extradoc.rst +++ b/pypy/doc/extradoc.rst

[pypy-commit] pypy guard-compatible: remove forgotten pdb

2016-03-19 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83144:8e40d7d6198c Date: 2016-03-18 18:05 +0100 http://bitbucket.org/pypy/pypy/changeset/8e40d7d6198c/ Log:remove forgotten pdb diff --git a/pypy/objspace/std/callmethod.py b/pypy/objspace/std/callmethod.py --- a/pypy/objspace/

[pypy-commit] pypy guard-compatible: fix translation

2016-03-19 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83161:a9e78ff3dcb9 Date: 2016-03-19 09:53 +0100 http://bitbucket.org/pypy/pypy/changeset/a9e78ff3dcb9/ Log:fix translation diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict

[pypy-commit] pypy guard-compatible: skip some tests that were broken by the disabling of the immutable stuff

2016-03-19 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83138:718cd5a1e7ed Date: 2016-03-18 11:49 +0100 http://bitbucket.org/pypy/pypy/changeset/718cd5a1e7ed/ Log:skip some tests that were broken by the disabling of the immutable stuff diff --git a/pypy/objspace/std/test/tes

[pypy-commit] pypy guard-compatible: less strict terminator getter, can be improved even more

2016-03-19 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83169:52d09afa52ce Date: 2016-03-19 11:57 +0100 http://bitbucket.org/pypy/pypy/changeset/52d09afa52ce/ Log:less strict terminator getter, can be improved even more diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/m

[pypy-commit] pypy guard-compatible: much more lenient compatibility checking, in particular objects with the same

2016-03-19 Thread cfbolz
Author: Carl Friedrich Bolz Branch: guard-compatible Changeset: r83135:73f2b4d50419 Date: 2016-03-15 17:58 +0100 http://bitbucket.org/pypy/pypy/changeset/73f2b4d50419/ Log:much more lenient compatibility checking, in particular objects with the same layout and different classes can us

  1   2   3   4   5   6   7   8   9   10   >