r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Profiling] Rebol code optimisation and algorithm comparisons.

Maxim
27-Jan-2011
[451x2]
all path access is slow...but I woudn't have thought that using a 
series function and multiplying both values in the pair would be 
twice as fast!
in my mind it would have been roughly equivalent.
Henrik
27-Jan-2011
[453]
that's very interesting for DRAW blocks. I wonder if R3 has the same 
issue.
Maxim
27-Jan-2011
[454x3]
just tried it... A100

in R3 they *are* roughly equivalent  :-)

in fact in R3 the second version is ~ 10% FASTER  !
so, claims that the path access is faster in R3 seems to be true 
across the board
btw the first version is exaclty the same speed as in R2, on my system.
Steeve
27-Jan-2011
[457x2]
I don't use first, second, third .... anymore in R3.
when I have the choice, indeed
Maxim
27-Jan-2011
[459:last]
yeah, its much easier to read.  I only use first/second in R2 because 
their faster.