[pypy-commit] benchmarks default: check track_memory capability with own process, so we don't have to run it with root anymore

2012-07-09 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r183:59184f41478d Date: 2012-07-09 18:18 +0200 http://bitbucket.org/pypy/benchmarks/changeset/59184f41478d/ Log:check track_memory capability with own process, so we don't have to run it with root anymore diff --git a/unladen_swallow/perf.py

[pypy-commit] pypy default: test speed optimization for set.update when updating a set of obejcts with another set containing objects

2012-06-20 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r55722:9f7e8c8ce987 Date: 2012-06-20 12:16 +0200 http://bitbucket.org/pypy/pypy/changeset/9f7e8c8ce987/ Log:test speed optimization for set.update when updating a set of obejcts with another set containing objects diff --git a/pypy/objspace/

[pypy-commit] pypy default: merge

2012-06-19 Thread l . diekmann
Author: l.diekmann Branch: Changeset: r55718:75dcb8759f38 Date: 2012-06-19 18:20 +0200 http://bitbucket.org/pypy/pypy/changeset/75dcb8759f38/ Log:merge diff --git a/pypy/objspace/std/test/test_setobject.py b/pypy/objspace/std/test/test_setobject.py --- a/pypy/objspace/std/test/test_setobjec

[pypy-commit] pypy default: optimization for the union of two sets using the object strategy

2012-06-19 Thread l . diekmann
Author: l.diekmann Branch: Changeset: r55717:452bb2805140 Date: 2012-06-19 18:19 +0200 http://bitbucket.org/pypy/pypy/changeset/452bb2805140/ Log:optimization for the union of two sets using the object strategy diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py ---

[pypy-commit] pypy default: issue 1183: added additional test

2012-06-19 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r55716:f7988abae5ec Date: 2012-06-19 13:14 +0200 http://bitbucket.org/pypy/pypy/changeset/f7988abae5ec/ Log:issue 1183: added additional test diff --git a/pypy/objspace/std/test/test_setobject.py b/pypy/objspace/std/test/test_setobject.py --- a/pyp

[pypy-commit] pypy default: merge

2012-06-19 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r55715:3f86187828a0 Date: 2012-06-19 11:47 +0200 http://bitbucket.org/pypy/pypy/changeset/3f86187828a0/ Log:merge diff --git a/pypy/doc/release-1.9.0.rst b/pypy/doc/release-1.9.0.rst --- a/pypy/doc/release-1.9.0.rst +++ b/pypy/doc/release-1.9.0.rst

[pypy-commit] pypy default: issue 1183: difference should never reuse the storage of a set as the storage of the resulting set, even if they are equal

2012-06-19 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r55714:776e724afb92 Date: 2012-06-19 11:44 +0200 http://bitbucket.org/pypy/pypy/changeset/776e724afb92/ Log:issue 1183: difference should never reuse the storage of a set as the storage of the resulting set, even if they are equal diff --git

[pypy-commit] pypy type-specialized-instances: these lines are now unnecessary

2012-02-01 Thread l . diekmann
Author: l.diekmann Branch: type-specialized-instances Changeset: r52014:ce9d7cbdddfb Date: 2012-02-01 12:56 + http://bitbucket.org/pypy/pypy/changeset/ce9d7cbdddfb/ Log:these lines are now unnecessary diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objs

[pypy-commit] pypy type-specialized-instances: fixed OverflowError for type-specialized instances

2012-02-01 Thread l . diekmann
Author: l.diekmann Branch: type-specialized-instances Changeset: r52013:ed1dbd45c349 Date: 2012-02-01 12:48 + http://bitbucket.org/pypy/pypy/changeset/ed1dbd45c349/ Log:fixed OverflowError for type-specialized instances diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict

[pypy-commit] pypy default: decided that a cached empty list is too dangerous and that is is better to live

2012-01-28 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r51908:3607ba0bb92d Date: 2012-01-28 13:08 +0100 http://bitbucket.org/pypy/pypy/changeset/3607ba0bb92d/ Log:decided that a cached empty list is too dangerous and that is is better to live with a sligthly slower empty list creation than with

[pypy-commit] pypy default: test and fix for cpyext/listobject.py: PyList_GET_SIZE and PyList_SetItem

2012-01-28 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r51907:a384864c5d6c Date: 2012-01-28 12:39 +0100 http://bitbucket.org/pypy/pypy/changeset/a384864c5d6c/ Log:test and fix for cpyext/listobject.py: PyList_GET_SIZE and PyList_SetItem diff --git a/pypy/module/cpyext/listobject.py b/pypy/module

[pypy-commit] pypy default: test and fix for cached empty list with deactivated strategies

2012-01-28 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r51906:2cb8ade3aef2 Date: 2012-01-27 17:42 +0100 http://bitbucket.org/pypy/pypy/changeset/2cb8ade3aef2/ Log:test and fix for cached empty list with deactivated strategies diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py

[pypy-commit] pypy type-specialized-instances: (cfbolz, l.diekmann): merge int-tag-untag-as-operationus to get the necessary

2012-01-25 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r51753:b15e618e3d82 Date: 2012-01-25 15:35 +0100 http://bitbucket.org/pypy/pypy/changeset/b15e618e3d82/ Log:(cfbolz, l.diekmann): merge int-tag-untag-as-operationus to get the necessary optimizations to make this bra

[pypy-commit] pypy set-strategies: merge

2012-01-12 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51291:a4bba3dd3493 Date: 2012-01-12 18:29 +0100 http://bitbucket.org/pypy/pypy/changeset/a4bba3dd3493/ Log:merge diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject.py +++ b/p

[pypy-commit] pypy set-strategies: added tests for optimized jit output with merged strategy implementations (lists, sets, strings)

2012-01-12 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51290:a81b07b0d748 Date: 2012-01-12 18:27 +0100 http://bitbucket.org/pypy/pypy/changeset/a81b07b0d748/ Log:added tests for optimized jit output with merged strategy implementations (lists, sets, strings) diff --git a/pypy/modu

[pypy-commit] pypy set-strategies: little changes to make the jit inline more stuff and optimize the trace

2012-01-12 Thread l . diekmann
Author: l.diekmann Branch: set-strategies Changeset: r51289:93d68d35cc81 Date: 2012-01-12 17:23 + http://bitbucket.org/pypy/pypy/changeset/93d68d35cc81/ Log:little changes to make the jit inline more stuff and optimize the trace diff --git a/pypy/objspace/std/setobject.py b/pypy/o

[pypy-commit] pypy set-strategies: fixes

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51232:7578dd73ccf8 Date: 2012-01-11 16:53 +0100 http://bitbucket.org/pypy/pypy/changeset/7578dd73ccf8/ Log:fixes diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject.py +++ b/p

[pypy-commit] pypy set-strategies: fixed test: show that listview_str returns None for other objects

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51231:aae0411e2217 Date: 2012-01-11 16:07 +0100 http://bitbucket.org/pypy/pypy/changeset/aae0411e2217/ Log:fixed test: show that listview_str returns None for other objects diff --git a/pypy/objspace/std/test/test_liststrategies.py b

[pypy-commit] pypy set-strategies: fixed tests: stringobject has now a listview_str method, too

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51229:37da0bb1707e Date: 2012-01-11 15:54 +0100 http://bitbucket.org/pypy/pypy/changeset/37da0bb1707e/ Log:fixed tests: stringobject has now a listview_str method, too diff --git a/pypy/objspace/std/test/test_liststrategies.py b/pypy

[pypy-commit] pypy set-strategies: (cfbolz, l.diekmann): added fastpath for dict.keys if keys are strings

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51230:a26b3141a0d4 Date: 2012-01-11 15:55 +0100 http://bitbucket.org/pypy/pypy/changeset/a26b3141a0d4/ Log:(cfbolz, l.diekmann): added fastpath for dict.keys if keys are strings diff --git a/pypy/objspace/std/celldict.py b/pyp

[pypy-commit] pypy set-strategies: (cfbolz, l.diekmann): added listview_str for strings

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51227:44c5a3419379 Date: 2012-01-11 14:55 +0100 http://bitbucket.org/pypy/pypy/changeset/44c5a3419379/ Log:(cfbolz, l.diekmann): added listview_str for strings diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py

[pypy-commit] pypy set-strategies: added listview tests for listobject

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51226:243af83be4d9 Date: 2012-01-11 14:49 +0100 http://bitbucket.org/pypy/pypy/changeset/243af83be4d9/ Log:added listview tests for listobject diff --git a/pypy/objspace/std/test/test_liststrategies.py b/pypy/objspace/std/test/test_l

[pypy-commit] pypy set-strategies: (cfbolz, l.diekmann): implemented listview_int for dicts

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51225:19aec63fdbfe Date: 2012-01-11 14:44 +0100 http://bitbucket.org/pypy/pypy/changeset/19aec63fdbfe/ Log:(cfbolz, l.diekmann): implemented listview_int for dicts diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std

[pypy-commit] pypy set-strategies: (cfbolz, l.diekmann) implemented listview_str on dicts

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51224:b1a065c4225d Date: 2012-01-11 14:40 +0100 http://bitbucket.org/pypy/pypy/changeset/b1a065c4225d/ Log:(cfbolz, l.diekmann) implemented listview_str on dicts diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/d

[pypy-commit] pypy set-strategies: (cfbolz, l.diekmann) added fastpath for dict.fromkeys with iterable using stringstrategy

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51222:b8be45d7d460 Date: 2012-01-11 14:24 +0100 http://bitbucket.org/pypy/pypy/changeset/b8be45d7d460/ Log:(cfbolz, l.diekmann) added fastpath for dict.fromkeys with iterable using stringstrategy diff --git a/pypy/objspace/std

[pypy-commit] pypy set-strategies: (cfbolz, l.diekmann): restructure some code: the speed hack in FastListIterator

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51220:95d8ecd1711f Date: 2012-01-10 18:15 +0100 http://bitbucket.org/pypy/pypy/changeset/95d8ecd1711f/ Log:(cfbolz, l.diekmann): restructure some code: the speed hack in FastListIterator is no longer there, so we don't need to

[pypy-commit] pypy set-strategies: added fastpath for initialization of lists with iterables using int- or stringstrategy

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51221:29acb5e48ac9 Date: 2012-01-11 14:09 +0100 http://bitbucket.org/pypy/pypy/changeset/29acb5e48ac9/ Log:added fastpath for initialization of lists with iterables using int- or stringstrategy diff --git a/pypy/objspace/std/l

[pypy-commit] pypy set-strategies: added listview_str/int for setobjects to later create lists from sets without wrapping/unwrapping the elements

2012-01-11 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51219:764907052fed Date: 2012-01-10 17:43 +0100 http://bitbucket.org/pypy/pypy/changeset/764907052fed/ Log:added listview_str/int for setobjects to later create lists from sets without wrapping/unwrapping the elements diff --g

[pypy-commit] pypy set-strategies: optimization fix

2012-01-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r51211:498b6ee337e9 Date: 2012-01-10 17:22 +0100 http://bitbucket.org/pypy/pypy/changeset/498b6ee337e9/ Log:optimization fix diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobj

[pypy-commit] pypy set-strategies: better approach for merging sets with lists

2011-12-20 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r50760:01dbcc06249a Date: 2011-12-20 16:19 +0100 http://bitbucket.org/pypy/pypy/changeset/01dbcc06249a/ Log:better approach for merging sets with lists diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py ---

[pypy-commit] pypy set-strategies: merged set- with liststrategies. when initializing a set with lists they can copy the storage and strategy from that list without wrapping the storages content

2011-12-20 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r50751:b0d872ae3261 Date: 2011-12-20 13:42 +0100 http://bitbucket.org/pypy/pypy/changeset/b0d872ae3261/ Log:merged set- with liststrategies. when initializing a set with lists they can copy the storage and strategy from that lis

[pypy-commit] pypy type-specialized-instances: fixes for type-specialized-attributes

2011-12-08 Thread l . diekmann
Author: l.diekmann Branch: type-specialized-instances Changeset: r50312:e481a093e056 Date: 2011-12-08 16:35 + http://bitbucket.org/pypy/pypy/changeset/e481a093e056/ Log:fixes for type-specialized-attributes diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pyp

[pypy-commit] pypy default: (l.diekmann, cfbolz): Be more careful about unrolling getitems. also make one less copy

2011-12-08 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r50310:f19d06a5972d Date: 2011-12-08 17:27 +0100 http://bitbucket.org/pypy/pypy/changeset/f19d06a5972d/ Log:(l.diekmann, cfbolz): Be more careful about unrolling getitems. also make one less copy diff --git a/pypy/objspace/std/listobject.py

[pypy-commit] pypy default: merge

2011-12-08 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r50311:6acad4874739 Date: 2011-12-08 17:47 +0100 http://bitbucket.org/pypy/pypy/changeset/6acad4874739/ Log:merge diff --git a/pypy/jit/backend/llsupport/regalloc.py b/pypy/jit/backend/llsupport/regalloc.py --- a/pypy/jit/backend/llsupport/regalloc

[pypy-commit] pypy type-specialized-instances: oups

2011-12-06 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r50209:0c894ad8e9b5 Date: 2011-12-06 14:47 +0100 http://bitbucket.org/pypy/pypy/changeset/0c894ad8e9b5/ Log:oups diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict.py ++

[pypy-commit] pypy type-specialized-instances: some fixes for type-specialized-attributes

2011-12-06 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r50207:940ed396c2d9 Date: 2011-12-06 14:34 +0100 http://bitbucket.org/pypy/pypy/changeset/940ed396c2d9/ Log:some fixes for type-specialized-attributes diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py

[pypy-commit] pypy type-specialized-instances: fixed mapdict tests

2011-12-05 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r50169:591a337d364f Date: 2011-12-05 12:32 +0100 http://bitbucket.org/pypy/pypy/changeset/591a337d364f/ Log:fixed mapdict tests diff --git a/pypy/objspace/std/test/test_mapdict.py b/pypy/objspace/std/test/test_mapdict.py -

[pypy-commit] pypy default: better name for application representation of list strategies

2011-12-01 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r50033:92f0d0594f88 Date: 2011-12-01 12:21 +0100 http://bitbucket.org/pypy/pypy/changeset/92f0d0594f88/ Log:better name for application representation of list strategies diff --git a/pypy/module/__pypy__/interp_magic.py b/pypy/module/__pypy__/inter

[pypy-commit] pypy default: added interp_magic method to get the strategy of a list on the application level

2011-12-01 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r50032:497907d5d515 Date: 2011-12-01 11:50 +0100 http://bitbucket.org/pypy/pypy/changeset/497907d5d515/ Log:added interp_magic method to get the strategy of a list on the application level diff --git a/pypy/module/__pypy__/__init__.py b/pypy

[pypy-commit] pypy default: added some tests for listobject with floats

2011-11-30 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r50014:b326a8bec1a2 Date: 2011-11-30 15:43 +0100 http://bitbucket.org/pypy/pypy/changeset/b326a8bec1a2/ Log:added some tests for listobject with floats diff --git a/pypy/objspace/std/test/test_listobject.py b/pypy/objspace/std/test/test_listobject.

[pypy-commit] pypy default: merge

2011-11-30 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r50011:6d12edf0639c Date: 2011-11-30 15:14 +0100 http://bitbucket.org/pypy/pypy/changeset/6d12edf0639c/ Log:merge diff --git a/pypy/annotation/specialize.py b/pypy/annotation/specialize.py --- a/pypy/annotation/specialize.py +++ b/pypy/annotation/sp

[pypy-commit] pypy default: added floatstrategy for lists

2011-11-30 Thread l . diekmann
Author: Lukas Diekmann Branch: Changeset: r50010:748818c5a463 Date: 2011-11-30 15:03 +0100 http://bitbucket.org/pypy/pypy/changeset/748818c5a463/ Log:added floatstrategy for lists diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobje

[pypy-commit] pypy list-strategies: added more tests for so far uncovered code in listobject.setslice

2011-11-23 Thread l . diekmann
Author: Lukas Diekmann Branch: list-strategies Changeset: r49688:47318b7c592d Date: 2011-11-23 15:19 +0100 http://bitbucket.org/pypy/pypy/changeset/47318b7c592d/ Log:added more tests for so far uncovered code in listobject.setslice diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace

[pypy-commit] pypy type-specialized-instances: added tests and fixes for overwriting attributes with another type and for untaggable ints

2011-11-22 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49664:c31774e1542e Date: 2011-11-22 16:10 +0100 http://bitbucket.org/pypy/pypy/changeset/c31774e1542e/ Log:added tests and fixes for overwriting attributes with another type and for untaggable ints diff --git a/pyp

[pypy-commit] pypy type-specialized-instances: fallback to PlainAttribute on AttributeError. this fix is needed for modules, since they do not have a typedef

2011-11-21 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49634:1ff52ab49127 Date: 2011-11-21 17:34 +0100 http://bitbucket.org/pypy/pypy/changeset/1ff52ab49127/ Log:fallback to PlainAttribute on AttributeError. this fix is needed for modules, since they do not have a typed

[pypy-commit] pypy type-specialized-instances: None should be erased by PlainAttribute

2011-11-21 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49623:510e6bc4ef58 Date: 2011-11-21 16:40 +0100 http://bitbucket.org/pypy/pypy/changeset/510e6bc4ef58/ Log:None should be erased by PlainAttribute diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --

[pypy-commit] pypy type-specialized-instances: fixed some tests where storage items are erased. there is no general erasing pair anymore so we need to use the methods from the correct AbstractAttribut

2011-11-21 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49624:90348184732d Date: 2011-11-21 16:44 +0100 http://bitbucket.org/pypy/pypy/changeset/90348184732d/ Log:fixed some tests where storage items are erased. there is no general erasing pair anymore so we need to use

[pypy-commit] pypy type-specialized-instances: reverted last fix, found a new (and better) one

2011-11-21 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49604:118048845a8d Date: 2011-11-21 11:41 +0100 http://bitbucket.org/pypy/pypy/changeset/118048845a8d/ Log:reverted last fix, found a new (and better) one diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdi

[pypy-commit] pypy type-specialized-instances: removed some old debug prints

2011-11-18 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49527:c76cccda3d75 Date: 2011-11-18 14:43 +0100 http://bitbucket.org/pypy/pypy/changeset/c76cccda3d75/ Log:removed some old debug prints diff --git a/pypy/objspace/std/test/test_mapdict.py b/pypy/objspace/std/test/test_ma

[pypy-commit] pypy type-specialized-instances: started fixing tests to work with new selector

2011-11-18 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49526:6f9cd7e5bdeb Date: 2011-11-18 14:42 +0100 http://bitbucket.org/pypy/pypy/changeset/6f9cd7e5bdeb/ Log:started fixing tests to work with new selector diff --git a/pypy/objspace/std/test/test_mapdict.py b/pypy/objspace

[pypy-commit] pypy type-specialized-instances: fixed read with new selector (still not sure if this is the right fix)

2011-11-18 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49525:ca3e806187f6 Date: 2011-11-18 14:41 +0100 http://bitbucket.org/pypy/pypy/changeset/ca3e806187f6/ Log:fixed read with new selector (still not sure if this is the right fix) diff --git a/pypy/objspace/std/mapdi

[pypy-commit] pypy type-specialized-instances: removed some old prints

2011-11-18 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49523:26d4cedd131b Date: 2011-11-16 20:39 +0100 http://bitbucket.org/pypy/pypy/changeset/26d4cedd131b/ Log:removed some old prints diff --git a/pypy/objspace/std/test/test_mapdict.py b/pypy/objspace/std/test/test_mapdict.

[pypy-commit] pypy type-specialized-instances: fix: former PlainAttribute is now AbstractStoredAttribute

2011-11-18 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49524:51f420b3af95 Date: 2011-11-16 20:40 +0100 http://bitbucket.org/pypy/pypy/changeset/51f420b3af95/ Log:fix: former PlainAttribute is now AbstractStoredAttribute diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace

[pypy-commit] pypy type-specialized-instances: introduced IntAttribute

2011-11-18 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49522:b16fead0c3f3 Date: 2011-11-16 18:24 +0100 http://bitbucket.org/pypy/pypy/changeset/b16fead0c3f3/ Log:introduced IntAttribute diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspac

[pypy-commit] pypy type-specialized-instances: read attributes only through Attribute class. fixed tests

2011-11-16 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49473:c905b06f965f Date: 2011-11-16 14:17 +0100 http://bitbucket.org/pypy/pypy/changeset/c905b06f965f/ Log:read attributes only through Attribute class. fixed tests diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace

[pypy-commit] pypy type-specialized-instances: do not use index anymore to read attributes. in future the attributes manage (un)erasing and (un)wrapping of their values themselves

2011-11-16 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49472:9348749a851e Date: 2011-11-15 14:04 +0100 http://bitbucket.org/pypy/pypy/changeset/9348749a851e/ Log:do not use index anymore to read attributes. in future the attributes manage (un)erasing and (un)wrapping of

[pypy-commit] pypy type-specialized-instances: (l.diekmann, cfbolz): a branch to play with the idea of type-specializing instances

2011-11-16 Thread l . diekmann
Author: Lukas Diekmann Branch: type-specialized-instances Changeset: r49471:2ae5b770cb48 Date: 2011-11-14 12:28 +0100 http://bitbucket.org/pypy/pypy/changeset/2ae5b770cb48/ Log:(l.diekmann, cfbolz): a branch to play with the idea of type- specializing instances __

[pypy-commit] pypy set-strategies: now we dont reference i before assignment anymore

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49270:4f4b06b3d3f8 Date: 2011-11-08 14:34 +0100 http://bitbucket.org/pypy/pypy/changeset/4f4b06b3d3f8/ Log:now we dont reference i before assignment anymore diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py

[pypy-commit] pypy set-strategies: referenced i before assignment if others_w is None/empty

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49269:fc5601b33c58 Date: 2011-11-08 14:12 +0100 http://bitbucket.org/pypy/pypy/changeset/fc5601b33c58/ Log:referenced i before assignment if others_w is None/empty diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobj

[pypy-commit] pypy set-strategies: optimized intersection_multiple some more

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49267:031e88af4605 Date: 2011-11-07 14:07 +0100 http://bitbucket.org/pypy/pypy/changeset/031e88af4605/ Log:optimized intersection_multiple some more diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/py

[pypy-commit] pypy set-strategies: added fastpath for issubset and isdisjoint

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49266:41bcb4199af4 Date: 2011-11-07 12:18 +0100 http://bitbucket.org/pypy/pypy/changeset/41bcb4199af4/ Log:added fastpath for issubset and isdisjoint diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/p

[pypy-commit] pypy set-strategies: delegated not_contain_equal_elements method to strategies

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49265:a7b6365fb35c Date: 2011-11-04 15:07 +0100 http://bitbucket.org/pypy/pypy/changeset/a7b6365fb35c/ Log:delegated not_contain_equal_elements method to strategies diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setob

[pypy-commit] pypy set-strategies: added fastpath to intersection and fixed not_contain_equal_elements

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49262:fca421c60d1d Date: 2011-11-03 16:14 +0100 http://bitbucket.org/pypy/pypy/changeset/fca421c60d1d/ Log:added fastpath to intersection and fixed not_contain_equal_elements diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace

[pypy-commit] pypy set-strategies: this is done with not_contain_equal_elements

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49261:926bd0d9d481 Date: 2011-11-03 15:44 +0100 http://bitbucket.org/pypy/pypy/changeset/926bd0d9d481/ Log:this is done with not_contain_equal_elements diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a

[pypy-commit] pypy set-strategies: renamed not_comparable to more convenient not_contain_equal_elements

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49260:d62d426fd752 Date: 2011-11-03 15:42 +0100 http://bitbucket.org/pypy/pypy/changeset/d62d426fd752/ Log:renamed not_comparable to more convenient not_contain_equal_elements diff --git a/pypy/objspace/std/setobject.py b/pypy/objspac

[pypy-commit] pypy set-strategies: added fastpath for not comparable sets (starting with difference)

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49259:06b2d8982ba0 Date: 2011-11-02 17:40 +0100 http://bitbucket.org/pypy/pypy/changeset/06b2d8982ba0/ Log:added fastpath for not comparable sets (starting with difference) diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/s

[pypy-commit] pypy set-strategies: no need to check since w_other is always a set here

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49257:cdcdf681bb20 Date: 2011-10-19 16:38 +0200 http://bitbucket.org/pypy/pypy/changeset/cdcdf681bb20/ Log:no need to check since w_other is always a set here diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.p

[pypy-commit] pypy set-strategies: discard is deprecated. instead we use remove

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49256:0e94aadc3c7f Date: 2011-10-19 16:37 +0200 http://bitbucket.org/pypy/pypy/changeset/0e94aadc3c7f/ Log:discard is deprecated. instead we use remove diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a

[pypy-commit] pypy set-strategies: more test coverage

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49255:64772ab889de Date: 2011-10-19 16:36 +0200 http://bitbucket.org/pypy/pypy/changeset/64772ab889de/ Log:more test coverage diff --git a/pypy/objspace/std/test/test_setobject.py b/pypy/objspace/std/test/test_setobject.py --- a/pypy

[pypy-commit] pypy set-strategies: what the hell did we do here!?

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49272:67ea580d5c56 Date: 2011-11-08 17:16 +0100 http://bitbucket.org/pypy/pypy/changeset/67ea580d5c56/ Log:what the hell did we do here!? diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace

[pypy-commit] pypy set-strategies: need to use r_dict when storing wrapped objects

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49254:766b7c29656f Date: 2011-10-18 15:46 +0200 http://bitbucket.org/pypy/pypy/changeset/766b7c29656f/ Log:need to use r_dict when storing wrapped objects diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --

[pypy-commit] pypy set-strategies: other_w can't be resized

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49271:2e5141d8fd6c Date: 2011-11-08 16:31 +0100 http://bitbucket.org/pypy/pypy/changeset/2e5141d8fd6c/ Log:other_w can't be resized diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/s

[pypy-commit] pypy set-strategies: erasing bug in _intersection_wrapped. added test and fix

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49253:ef85a53cfb2c Date: 2011-10-18 15:17 +0200 http://bitbucket.org/pypy/pypy/changeset/ef85a53cfb2c/ Log:erasing bug in _intersection_wrapped. added test and fix diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobj

[pypy-commit] pypy set-strategies: added tests for intersection_multiple order

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49268:0bf8d5082b03 Date: 2011-11-07 16:24 +0100 http://bitbucket.org/pypy/pypy/changeset/0bf8d5082b03/ Log:added tests for intersection_multiple order diff --git a/pypy/objspace/std/test/test_setobject.py b/pypy/objspace/std/test/tes

[pypy-commit] pypy set-strategies: use string strategy when appending string to empty set

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49264:a7633ebf174b Date: 2011-11-04 14:49 +0100 http://bitbucket.org/pypy/pypy/changeset/a7633ebf174b/ Log:use string strategy when appending string to empty set diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobjec

[pypy-commit] pypy set-strategies: also copy storage of frozenset to avoid changing frozenset in methods like intersection, difference, etc

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49251:ddc6e9d447f3 Date: 2011-10-18 12:12 +0200 http://bitbucket.org/pypy/pypy/changeset/ddc6e9d447f3/ Log:also copy storage of frozenset to avoid changing frozenset in methods like intersection, difference, etc diff --git a/p

[pypy-commit] pypy set-strategies: in intersection_multiple start with the smallest to avoid unnecessary comparisons

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49263:001538c05f0e Date: 2011-11-03 17:19 +0100 http://bitbucket.org/pypy/pypy/changeset/001538c05f0e/ Log:in intersection_multiple start with the smallest to avoid unnecessary comparisons diff --git a/pypy/objspace/std/setobj

[pypy-commit] pypy set-strategies: use the correct dict (here: r_dict for wrapped items)

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49249:78ae9026b827 Date: 2011-10-14 16:08 +0200 http://bitbucket.org/pypy/pypy/changeset/78ae9026b827/ Log:use the correct dict (here: r_dict for wrapped items) diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject

[pypy-commit] pypy set-strategies: added StringStrategy for sets

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49258:4a416c0077b7 Date: 2011-11-02 17:03 +0100 http://bitbucket.org/pypy/pypy/changeset/4a416c0077b7/ Log:added StringStrategy for sets diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/

[pypy-commit] pypy set-strategies: one more abstract method fix

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49248:4b7161bb5ef7 Date: 2011-10-14 15:59 +0200 http://bitbucket.org/pypy/pypy/changeset/4b7161bb5ef7/ Log:one more abstract method fix diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/s

[pypy-commit] pypy set-strategies: forgot argument for abstract method copy

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49246:82bf144b8c88 Date: 2011-10-14 15:44 +0200 http://bitbucket.org/pypy/pypy/changeset/82bf144b8c88/ Log:forgot argument for abstract method copy diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pyp

[pypy-commit] pypy set-strategies: just check for unhashable objects here

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49252:3d1995ca1028 Date: 2011-10-18 13:28 +0200 http://bitbucket.org/pypy/pypy/changeset/3d1995ca1028/ Log:just check for unhashable objects here diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/

[pypy-commit] pypy set-strategies: merge with default

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49245:a07d1bf6b358 Date: 2011-10-14 15:34 +0200 http://bitbucket.org/pypy/pypy/changeset/a07d1bf6b358/ Log:merge with default diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py --- a/pypy/objspace/std/

[pypy-commit] pypy set-strategies: forgot self in method _isdisjoint_wrapped

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49250:0dacc5b60316 Date: 2011-10-14 16:23 +0200 http://bitbucket.org/pypy/pypy/changeset/0dacc5b60316/ Log:forgot self in method _isdisjoint_wrapped diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/py

[pypy-commit] pypy set-strategies: fix needed for translation

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49241:b1d40e572594 Date: 2011-10-14 12:57 +0200 http://bitbucket.org/pypy/pypy/changeset/b1d40e572594/ Log:fix needed for translation diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std

[pypy-commit] pypy set-strategies: fixed copy and paste error. SetStrategy needs one more argument

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49247:3f17a58f779e Date: 2011-10-14 15:53 +0200 http://bitbucket.org/pypy/pypy/changeset/3f17a58f779e/ Log:fixed copy and paste error. SetStrategy needs one more argument diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std

[pypy-commit] pypy set-strategies: possible fix for translation

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49244:64942a5fcc0f Date: 2011-10-14 15:11 +0200 http://bitbucket.org/pypy/pypy/changeset/64942a5fcc0f/ Log:possible fix for translation diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/s

[pypy-commit] pypy set-strategies: checking for string makes no sense here

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49239:ee4c088754f8 Date: 2011-10-14 11:54 +0200 http://bitbucket.org/pypy/pypy/changeset/ee4c088754f8/ Log:checking for string makes no sense here diff --git a/pypy/objspace/std/dictmultiobject.py b/pypy/objspace/std/dictmultiobject.

[pypy-commit] pypy set-strategies: fix needed for translation

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49243:23d0550fda0a Date: 2011-10-14 15:02 +0200 http://bitbucket.org/pypy/pypy/changeset/23d0550fda0a/ Log:fix needed for translation diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std

[pypy-commit] pypy set-strategies: _never_equal_to_string makes no sense here

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49237:624230481d9a Date: 2011-10-14 11:01 +0200 http://bitbucket.org/pypy/pypy/changeset/624230481d9a/ Log:_never_equal_to_string makes no sense here diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/p

[pypy-commit] pypy set-strategies: unnecessary code

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49242:24ed09109359 Date: 2011-10-14 14:52 +0200 http://bitbucket.org/pypy/pypy/changeset/24ed09109359/ Log:unnecessary code diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject

[pypy-commit] pypy set-strategies: replaced space.iterator with iterator implementation for sets

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49236:86a2b557f516 Date: 2011-10-12 16:49 +0200 http://bitbucket.org/pypy/pypy/changeset/86a2b557f516/ Log:replaced space.iterator with iterator implementation for sets diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/s

[pypy-commit] pypy set-strategies: replaced getkeys in hash_FrozenSet with iterator

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49232:973765c2af6d Date: 2011-10-12 14:14 +0200 http://bitbucket.org/pypy/pypy/changeset/973765c2af6d/ Log:replaced getkeys in hash_FrozenSet with iterator diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py -

[pypy-commit] pypy set-strategies: skip currently not supported tests

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49240:76fde77d4ef0 Date: 2011-10-14 12:39 +0200 http://bitbucket.org/pypy/pypy/changeset/76fde77d4ef0/ Log:skip currently not supported tests diff --git a/pypy/objspace/std/test/test_setstrategies.py b/pypy/objspace/std/test/test_set

[pypy-commit] pypy set-strategies: always use issubset instead of issuperset

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49227:c826689d38c6 Date: 2011-10-11 15:31 +0200 http://bitbucket.org/pypy/pypy/changeset/c826689d38c6/ Log:always use issubset instead of issuperset diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/py

[pypy-commit] pypy set-strategies: use copy and intersect_update

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49226:f0d6cf7b30b1 Date: 2011-10-11 15:10 +0200 http://bitbucket.org/pypy/pypy/changeset/f0d6cf7b30b1/ Log:use copy and intersect_update diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/

[pypy-commit] pypy set-strategies: added docstrings

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49235:52bb2aea8502 Date: 2011-10-12 15:51 +0200 http://bitbucket.org/pypy/pypy/changeset/52bb2aea8502/ Log:added docstrings diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/objspace/std/setobject

[pypy-commit] pypy set-strategies: added test and fix for update on empty sets

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49222:64702787279f Date: 2011-10-11 14:49 +0200 http://bitbucket.org/pypy/pypy/changeset/64702787279f/ Log:added test and fix for update on empty sets diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/

[pypy-commit] pypy set-strategies: added methods raising NotImplemented error

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49234:b3a217a2461b Date: 2011-10-12 14:38 +0200 http://bitbucket.org/pypy/pypy/changeset/b3a217a2461b/ Log:added methods raising NotImplemented error diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/p

[pypy-commit] pypy set-strategies: using a for loop is much simpler here

2011-11-10 Thread l . diekmann
Author: Lukas Diekmann Branch: set-strategies Changeset: r49221:79858af1738c Date: 2011-10-11 14:45 +0200 http://bitbucket.org/pypy/pypy/changeset/79858af1738c/ Log:using a for loop is much simpler here diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py --- a/pypy/o

  1   2   3   4   >