[REBOL] Re: New competition: do you accept the challenge?! :-)
From: Tom::Conlin::gmail::com at: 6-Nov-2007 21:51
Alessandro Manotti wrote:
> yes, now I understand what you say.
> My main target is testing how fast Rebol can handle strings. I compared it
> with java simply because java is fast, but not so fast like a real compiled
> application (e.g.: C++, C, Pascal, ADA, Oberon, etc...).
>
> The result is import only because that one is the only way I have to be sure
> that two different programming languages are implementing the same
> algorithms (so I can compare them).
but part of rebol is *not* having to implement the same algorithms.
rebol []
print "START..."
s1: now/time/precise
finale: make string! 48000
i: 1
while[i <= 10000][
insert tail finale copy/part next trim/all form reduce[i ",1-" i] 4
i: 1 + i
]
print "STOP!"
print length? finale
print now/time/precise - s1
halt