Commits

Author Commit Message Labels Comments Date
Armin Rigo
When forcing a virtual that is actually an immutable struct, if it contains only constants, then it can become a constant struct. Should help e.g. to remove W_IntObject(0) that were still malloced in the operations sent to the backend.
Carl Friedrich Bolz
make MAKE_CLOSURE a bit faster (and more JIT-friendly)
Amaury Forgeot d'Arc
Add PyCode_New(), PyFrame_New(), and PyTraceBack_Here().
Amaury Forgeot d'Arc
Implement PyImport_AddModule()
Amaury Forgeot d'Arc
Implement PyObject_Cmp
Armin Rigo
Optimize frame creation by the JIT by making the default value of these two fields be 0 instead of -1.
Armin Rigo
Get rid of Frame.numlocals.
Armin Rigo
merge heads
Armin Rigo
Implement a fast malloc path for arrays of known (and not too large) length, mostly reusing the code for fixedsize mallocs.
Amaury Forgeot d'Arc
Revert again the changes in the import mechanism. It is very important for the JIT that importing again a known module does not need to acquire the import lock, for example.
Amaury Forgeot d'Arc
Let test_pypy_c tests run on Windows
Maciej Fijalkowski
An experiment - unroll _lookup and _lookup_where. Should make a mix of old and new style classes much faster
Armin Rigo
Fix: after refactoring, the call to absolute_import_try() ended up being inside a @jit.dont_look_inside function. This made useless the optimization @jit.unroll_loops on the absolute_import_try() function.
Armin Rigo
Fix comment.
Amaury Forgeot d'Arc
Restore the fast path for imports: only read sys.modules when the module has already been imported, and do not acquire the import lock.
Armin Rigo
Fix softspace with unicodes. Looking at the CPython sources, it's really the same logic as for strings, special-casing only the single unicode character " ".
Amaury Forgeot d'Arc
Fix the imp module to better handle the __package__ attribute
Amaury Forgeot d'Arc
Fix translation in the _winreg module
Amaury Forgeot d'Arc
Armin Rigo
merge heads
Armin Rigo
Remove another test.
Armin Rigo
Tentative: kill various pieces of code left and right handling keepalives. Now the inliner no longer inserts tons of keepalives for you (which are almost always unneeded).
Armin Rigo
No clue what I'm doing there, but pytest_runtest_logreport() in the "resultlog" output tries to do an invalid operation on the result of (some?) skipped tests. Just use the str() of the whole thing for now.
Armin Rigo
Update the version; we are now close to 1.5.
Armin Rigo
Update the numbers.
Armin Rigo
Fix the usage of the 'j' mode (in INSN_j) on 64-bit to take as argument the absolute address, as on 32-bit. Previously, it would be encoded as the IP-relative address, and feature that no code in the current backend can take advantage of; so it was carefully systematically avoided in 64-bit.
Armin Rigo
merge heads
Armin Rigo
Fix test: now FRAME_FIXED_SIZE may be larger than 10.
Armin Rigo
Add a comment.
Carl Friedrich Bolz
- add fast paths to init__List - make init__List more transparent to the JIT
  1. Prev
  2. Next