Paolo 'Blaisorblade' Giarrusso <p.giarru...@gmail.com> added the comment:
Ok, then vmgen adds almost just direct threading instead of indirect threading. Since the purpose of superinstructions is to eliminate dispatch overhead, and that's more important when little actual work is done, what about all ones which unconditionally end with FAST_DISPATCH and are common? DUP_TOP, POP_TOP, DUP_TOPX(2,3) and other stack handling staff which can't fail? To have any of them + XXX without error handling problems? Removing handling of DUP_TOPX{4,5} is implied, you shouldn't check functionality of the compiler during interpretation - indeed, even the idea using a parameter for that is a waste. Have DUP_TOPX2 and DUP_TOPX3, like JVM, is just simpler. > Replication would be trickier since we want the bytecode generation to be deterministic, but it's probably doable too. Bytecode conversion during I/O is perfectly fine, to convert from the actual bytecode to one of the chosen replicas. Conversion in a rescan pass can be also OK (less cache friendly though, so if it's easy to avoid, please do). _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4753> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com