On 17/03/2015 17:59, Stephan Eggermont wrote:
On 17/03/15 17:13, Eliot Miranda wrote:
Hi Nicolas, Indeed it is. But remember that Java VMs are typically extremely efficient, employing aggressive optimization. What Java VM are you using?
I was using an OpenSDK-7 on latest Ubuntu
same here: java-7-openjdk-amd64
But do not despair! We are working on it. Let me boil down your benchmark and measure it in Cog (the current standard VM) and Spur (the in-development improvement that should become the standard Pharo VM by Pharo 5). Clément and I are also working on Sista, which is an adaptive optimizer for Cog/Spur that should further increase performance.
I am not despairing :-) I will look into the suggestion of Sven and Phil with Binary Stream nicolas
I tried the code with the latest pharo-spur image and vm: from 17 seconds down to 10.5
Stephan