[issue26647] Wordcode

2016-03-29 Thread Demur Rumed
Changes by Demur Rumed : -- nosy: +abarnert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue26647] Wordcode

2016-03-29 Thread STINNER Victor
STINNER Victor added the comment: > The change is to have all instructions take an argument. This removes the > branch on each instruction on whether to load oparg. (...) Oh ok, I like that :-) I had the same idea. Your patch contains unrelated changes, you should revert them to have a change

[issue26647] Wordcode

2016-03-29 Thread STINNER Victor
STINNER Victor added the comment: > This also means that if I want to create something like a tracer that tracks > some information for each instruction, I can allocate an array of codesize/2 > bytes, then index off of half the instruction index. This isn't currently > done in peephole.c, nor

[issue26647] Wordcode

2016-03-29 Thread Demur Rumed
Demur Rumed added the comment: I'll dig up benchmark results when I get home, but I'd be interested to get results on a less wannabe RISC CPU The change is to have all instructions take an argument. This removes the branch on each instruction on whether to load oparg. It then also aligns inst

[issue26647] Wordcode

2016-03-29 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I don't have the context. Can you please explain your change? What did you do? What is the rationale? Do you expect better performances? If yes, please run the Python benchmark suite and post results here. What is the new format of bytecode? etc. -

[issue26647] Wordcode

2016-03-27 Thread Demur Rumed
Demur Rumed added the comment: Also missing from this patch is modification of the bytecode magic number -- ___ Python tracker ___ ___

[issue26647] Wordcode

2016-03-27 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue26647] Wordcode

2016-03-27 Thread SilentGhost
Changes by SilentGhost : -- nosy: +benjamin.peterson, brett.cannon, georg.brandl, ncoghlan, yselivanov ___ Python tracker ___ ___ Pyth

[issue26647] Wordcode

2016-03-26 Thread Demur Rumed
New submission from Demur Rumed: Originally started @ https://github.com/abarnert/cpython/tree/wpy This patch is based off of https://github.com/serprex/cpython/tree/wpy It omits importlib.h & importlib_external.h as those are generated It omits https://github.com/serprex/cpython/blob/wpy/Pyth