Need for Speed (postscript)
Mark Smith
mark at maseurope.net
Sun Jul 15 17:25:04 EDT 2007
Stephen, for what it's worth, my own experience (when I was doing my
SHA1 function) is that it's marginally quicker to use literals than
it is to use constants. I do mean marginally, though it was enough to
shave a few more milliseconds off the execution time of the SHA1
function...
Best,
Mark
On 15 Jul 2007, at 21:50, Stephen Barncard wrote:
> another thing -- the last line in the loop
>
> put "====================" & return after outputData
>
> perhaps that could be a constant, defined at the top of the script
>
>
> constant kBarDisplay = "===================="
>
> then use this in the loop
> put kBarDisplay & return after outputData
>
> this one might have negligible difference, but I haven't tested this.
More information about the use-livecode
mailing list