--- Begin Message ---Hello,For a exercism challenge I need to calculate the total grains on a chessboard.So I did :atSquare: anInteger self validateInput: anInteger. ^ anInteger = 1 ifTrue: [ 1 ] ifFalse: [ 2 * (self atSquare: anInteger - 1) ]but when I run the tests , the vm seems to be not responsive for some 4 - 5 seconds.Is there a way I can use this code and take care that the vm stays responsive.Regards, Roelof
--- End Message ---
[Pharo-users] can I make this so the vm would not be not responsibe when running the tests
Roelof Wobben via Pharo-users Sat, 04 Jan 2020 09:48:19 -0800
- [Pharo-users] can I make this so the vm woul... Roelof Wobben via Pharo-users
- Re: [Pharo-users] can I make this so th... Joachim Tuchel
- Re: [Pharo-users] can I make this so th... Richard Sargent
- Re: [Pharo-users] can I make this s... Roelof Wobben via Pharo-users
- Re: [Pharo-users] can I make th... Richard Sargent
- Re: [Pharo-users] can I mak... tbrunz
- Re: [Pharo-users] can I mak... Roelof Wobben via Pharo-users
- Re: [Pharo-users] can ... Sean P. DeNigris
- Re: [Pharo-users] ... tbrunz
- Re: [Pharo-use... Roelof Wobben via Pharo-users
- Re: [Pharo-users] can I make th... Richard O'Keefe