nimbus-eth1/nimbus/vm2/interpreter
Jordan Hrycaj 1b3117edbd re-implemented handler-call statement by doubly nested case statement
why:
  the new implementation lost more then 25% execution time on the test
  suite when compared to the original VM. so the handler call and the
  surrounding statements have been wrapped in a big case statement similar
  to the original VM implementation. on Linux/x64, the execution time of
  the new VM2 seems to be on par with the old VM.

details:
  on Linux/x64, computed goto works and is activated with the -d:release
  flag. here the execution time of the new VM2 was tested short of 0.02%
  better than the old VM. without the computed goto, it is short of
  0.4% slower than the old VM.
2021-04-28 15:24:14 +03:00
..
op_handlers clean up cyclic-import-breaker function stubs where possible for op handlers 2021-04-28 15:24:14 +03:00
utils re-integrated call op handlers 2021-04-28 15:24:14 +03:00
forks_list.md provide identical copy of vm folder => vm2, activated by make flag ENABLE_VM2=1 2021-04-23 14:04:06 +03:00
forks_list.nim re-implemented handler-call statement by doubly nested case statement 2021-04-28 15:24:14 +03:00
forks_list.png provide identical copy of vm folder => vm2, activated by make flag ENABLE_VM2=1 2021-04-23 14:04:06 +03:00
gas_costs.nim re-named v2gas_costs.nim to its original name v2gas_costs.nim 2021-04-28 15:24:14 +03:00
gas_meter.nim renamed types.nim, vm_fork.nim, opcode_values.nim => v2*.nim 2021-04-23 14:04:06 +03:00
op_codes.nim re-implemented handler-call statement by doubly nested case statement 2021-04-28 15:24:14 +03:00
op_handlers.nim re-implemented handler-call statement by doubly nested case statement 2021-04-28 15:24:14 +03:00