Geoff, Craig-
Thursday, September 12, 2013, 1:30:49 PM, you wrote:
OTOH, this scales linearly and is faster than "before", "after", or
"into": on a half-fast dual-core linux box I get 103 ticks for a
million iterations. Even with the overhead of the handler call, it
looks like this avoids making a copy of the original.
on mouseUp
local temp
local s
local accum
put "XXX" into temp
put the ticks into s
repeat 1000000 -- yes, that's a million
append temp, accum
end repeat
put the ticks - s into field 1
answer length(accum)
end mouseUp
command append pNew, @pString
put pNew after pString
end append
--
-Mark Wieder
[email protected]
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode