« Previous | Next » 

Revision 363acb1e

ID363acb1e454a350137e91665a4317732b356766b
Parent b0c63e2b
Child b2aa5035, 7f5e61b4

Added by Iustin Pop about 13 years ago

Optimizie OpCode loading

This patch converts the opcode loading to a pre-built map (at import
time) instead of iteration over the globals dict at each call.

Microbenchmarks show that this should be around three times faster, and
burnin still passes.

Signed-off-by: Iustin Pop <>
Reviewed-by: Michael Hanselmann <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences