Obviously, it is slower, there is a whole image that needs to be loaded, etc.
On 24 Jul 2014, at 16:34, phil@highoctane.be wrote:
> One question I have is how fast the load of an image and processing by an image is when compared with bash.
$ cat test.st
#!/Users/sven/tmp/pharo4/pharo-vm/Pharo.app/Contents/MacOS/Pharo --headless /Users/sven/tmp/pharo4/Pharo.image st --quitFileStream stdout nextPutAll: 42 factorial asString; cr.
$ time ./test.st
1405006117752879898543142606244511569936384000000000
real �� ��0m0.644s
user �� ��0m0.516s
sys �� �� 0m0.067s
So about half a second overhead.
Sven