text speeds are good

Ken Ray kray at sonsothunder.com
Tue Mar 18 02:15:02 EDT 2008


On Sun, 16 Mar 2008 15:54:36 -0400, Colin Holgate wrote:

> Is there something analogous to var += in Rev, that would make for 
> faster concatenating in simpler cases?

Not AFAIK... I used Richard Gaskin's benchmarking tool (RevBench) and 
compared the "put ... after t" with "put t & ... into t" and just that 
statement, run 50,000 times showed that the "put...after" format took 2 
ticks (about 33ms) to do all 50,000 executions (0.00004 ticks (0.000667 
ms) per execution) and the "put ... into" took 4378 ticks to run 
(0.08756 ticks (1.459333ms) per execution). So I think "put after" is 
about as fast as Rev's going to get...

Ken Ray
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/



More information about the Use-livecode mailing list