3 ms·
We need to be using lazy coolections.
by karmakaze 8y ago
We need to be using lazy coolections.
- dragonwriter 8y agoSo: execute(STDIN.each_line, code) which gives you a lazy enumerator, in place of: execute(STDIN.readlines, code) which gives you an Array.