finally creating less objects in the test
basic still #23 , now applied Basic size of 20, interpreter gets 50 and the full set is 1024 Tests run more than twice as fast!!
This commit is contained in:
@ -5,7 +5,7 @@ module Mains
|
||||
include Risc::Ticker
|
||||
|
||||
def setup
|
||||
@string_input = as_main("a = 1011 ; while(a>0) ; a = a - 1 ; end ; return a")
|
||||
@string_input = as_main("a = 37 ; while(a>0) ; a = a - 1 ; end ; return a")
|
||||
super
|
||||
end
|
||||
def test_chain # max 1011 iterations on 1014 integers (1024 - 10 reserve)
|
||||
|
Reference in New Issue
Block a user