Source

pypy / pypy / objspace / std / celldict.py

Author Commit Message Labels Comments Date
Armin Rigo
Fix typo
Branches
speedup-unpackiterable
Maciej Fijalkowski
a major refactor - try to have different classes for iterkeys/itervalues/iteritems
Branches
speedup-unpackiterable
Amaury Forgeot d'Arc
Fix test_celldict, and translation as well.
Lukas Diekmann
(cfbolz, l.diekmann): added fastpath for dict.keys if keys are strings
Branches
set-strategies
Alex Gaynor
Merged default in, resolved merge conflicts (involved removing an optimization that had been done in a different way on default).
Branches
list-strategies
Alex Gaynor
fix indentation (how did it happen?)
Carl Friedrich Bolz
fix a space.is_w(..., None) case
Branches
list-strategies
Alex Gaynor
When a key in a celldict is set with it's current value, don't create a level of indirection, or mutate the version. This shows up for the attributes of all MixedModules (including __builtins__!).
Carl Friedrich Bolz
make quasi-immutable fields actually useful here
Branches
celldict-versions
Carl Friedrich Bolz
merge default
Branches
celldict-versions
Alex Gaynor
Added popitem() to module dictionaries, and fixed a bug with degenerating them when there are invalidated cells.
Carl Friedrich Bolz
typos (?!)
Branches
celldict-versions
Carl Friedrich Bolz
merge default
Branches
celldict-versions
Carl Friedrich Bolz
merge
Carl Friedrich Bolz
no longer needed
Branches
dict-strategies
Carl Friedrich Bolz
add a shortcut promote(x) for x = hint(x, promote=True). replace most places
Carl Friedrich Bolz
rename purefunction into elidable (but keep an purefunction around as an alias, some external projects like prolog still use it).
Lukas Diekmann
also promote self (strategy)
Branches
dict-strategies
Carl Friedrich Bolz
fix hint that was broken in the strategy refactoring
Branches
dict-strategies
Carl Friedrich Bolz
a version of cell dicts that gives free global lookups for globals that don't
Branches
celldict-versions
Carl Friedrich Bolz
nonsense (no cookies)
Branches
dict-strategies
Carl Friedrich Bolz
fix translation with celldicts
Branches
dict-strategies
Carl Friedrich Bolz
name consistently
Branches
dict-strategies
Carl Friedrich Bolz
even better name: _never_equal_to_string
Branches
dict-strategies
Carl Friedrich Bolz
rename _is_sane_hash to _hashes_differently_than_string, which is far more accurate.
Branches
dict-strategies
Carl Friedrich Bolz
rename cast_* to erase and unerase
Branches
dict-strategies
Lukas Diekmann
Added fallback tests for Module- and StringDictStrategy and implemented corresponding methods
Branches
dict-strategies
Lukas Diekmann
Added test for getitem-fallback in ModuleDictStrategy (still missing: tests for fallbacks setdefault, delitem; also in StringDictStrategy)
Branches
dict-strategies
Lukas Diekmann
Fixed ModuleDict to work with Strategies
Branches
dict-strategies
Lukas Diekmann
(cfbolz, l.diekmann): fix dict.setdefault to only do one hash computation and dict lookup
  1. Prev
  2. 1
  3. 2
  4. Next