FYI: writing to and reading from fields much faster than locals, globals or custom properties

stephen barncard stephenREVOLUTION2 at barncard.com
Wed Feb 17 23:22:32 EST 2010


That is counter to what we've been taught was the case previously. In
previous versions the field overhead was far greater than CPs. Perhaps it's
the multi-dimensional aspect.
-------------------------
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


On 17 February 2010 20:10, Josh Mellicker <josh at dvcreators.net> wrote:

> You all probably know this, but thought I would share our experience
> anyway:
>
> We are working on a project with a 1 millisecond callback loop that
> communicates with an external process in a performance-critical application,
> and when prototyping, temporarily used some fields on a card to write and
> read values from during the loop.
>
> Then, while buttoning things up, instead of fields, we switched to reading
> and writing a custom property.
>
> Suddenly, everything went sluggish - you had to click on a button several
> times to trigger it, you could barely move stack windows, etc.
>
> It took a while to figure out the culprit, but once we went line by line
> from our original prototype script, wee found that going back to reading and
> writing to a field made everything work smoothly again!
>
> Then we tried local, then a global variable... not good... same result as
> custom properties.
>
> So if you are writing an app where performance is critical, Rev reads and
> writes to fields super fast!_______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list