cache booted functions

remove more redundant parfait boots
This commit is contained in:
2019-09-07 17:56:06 +03:00
parent 2c681bf2e5
commit b13c19def3
18 changed files with 35 additions and 32 deletions

View File

@ -55,12 +55,12 @@ module Risc
end
def test_pc1
@interpreter.tick
assert_equal 40296 , @interpreter.pc
assert_equal 40168 , @interpreter.pc
end
def test_pc2
@interpreter.tick
@interpreter.tick
assert_equal 40300 , @interpreter.pc
assert_equal 40172 , @interpreter.pc
end
def test_tick2
@interpreter.tick