RodrigoDornelles / 3bc-lang

Low-level language, tiny virtual machine, minimal runtime, intermediate representation, embeddable, easy for beginners. (Friendly Punched cards)
https://3bc-lang.org
GNU General Public License v3.0
232 stars 25 forks source link

use binary search in 'interpreter_syntax_registers' #345

Closed RodrigoDornelles closed 1 year ago

RodrigoDornelles commented 1 year ago

this small change improves the interpreter running up to 11x faster when parsing each line of 3bc code.

How to do it