Source

pypy / pypy / objspace / std / typeobject.py

Author Commit Message Labels Comments Date
Alex Gaynor
kill some left over faking stuff
Branches
kill-faking
Alex Gaynor
Removed mutable_builtintypes flag
Armin Rigo
Tweak tweak. Unclear if this gives enough win any more to care...
Armin Rigo
Add a sanity check.
Armin Rigo
issue1292: simplify the repr() of types, now that most built-in types
Maciej Fijalkowski
(arigo, fijal)
Branches
kill-someobject
Alex Gaynor
Mark type's mro_w as quassiimmut.
Alex Gaynor
Unroll a loop, which allows super() to go through method caches in the JIT.
Alex Gaynor
Mark several fields in numpy as being immutable, and the name of a type object as quassiimmut
Carl Friedrich Bolz
use a specialize:memo instead of adding yet another word to the already huge W_TypeObjects.
Alex Gaynor
interplevel_cls on type objects is immutable
Maciej Fijalkowski
try using string_promote for promoting lookups
Branches
string-promote-2
Alex Gaynor
remove this dead code, needed for the optimization from the previous commit.
Alex Gaynor
change how some code is organized, fixes the failing test_pypy_c tests hopefully
Alex Gaynor
Fix for test_descr.
Alex Gaynor
Fix TypeSubClass(object) to work like type(object)
Maciej Fijalkowski
a branch to experiment with making space.isisntance faster
Branches
faster-isinstance
Maciej Fijalkowski
backout 96571e83c308
Branches
kill-unary-multimethods
Maciej Fijalkowski
just removing isinstance and issubtype as multimethods seems to "just work".
Branches
kill-unary-multimethods
Justin Peel
make all files use space.isinstance_w instead of space.is_true(space.isinstance(...)) in objspace/std/
Antonio Cuni
(Alex_Gaynor, antocuni): special-case type.__eq__ so that type (and subclasses) are marked as compares_by_identity()
Armin Rigo
Change the interface of deldictvalue() to take an unwrapped
Antonio Cuni
kill the global versioning logic, and add a big comment which explains why it's not needed
Branches
identity-dict-strategy
Antonio Cuni
rename the option to withidentitydict
Branches
identity-dict-strategy
Antonio Cuni
completely remove the global identitydict version from the space, and use the space.fromcache() approach instead
Branches
identity-dict-strategy
Antonio Cuni
as cfbolz points out, we cannot mutate the space, because it's frozen. Instead, store the mutable version in an object attached to the space
Branches
identity-dict-strategy
Antonio Cuni
use an enum instead of a bool to keep track of the comparse_by_identiy status; this way, we can cache also the False case
Branches
identity-dict-strategy
Antonio Cuni
update the global version counter if we change the class of an object whose old class was tracked as compares_by_identity
Branches
identity-dict-strategy
Antonio Cuni
implement a global version counter to track changes to classes that changed their compares_by_identity() status
Branches
identity-dict-strategy
Antonio Cuni
add an XXX
Branches
identity-dict-strategy
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. 8
  10. 9
  11. Next