HC Music that should be on Runtime Revolution
J. Landman Gay
jacque at hyperactivesw.com
Tue Mar 17 18:41:56 EDT 2009
Colin Holgate wrote:
>
> On Mar 17, 2009, at 5:26 PM, J. Landman Gay wrote:
>
>> Yes, a lot of advantages. One is speed, another is the ability to
>> store any kind of data including binary. Once you start using custom
>> properties you won't use fields any more for anything but visible
>> text. Accessing a custom property is faster than field access by some
>> magnitude, second only to script-local and global variables.
>
> But I'm finding that a field stores binary data ok it seems, and using
> it is instantaneous. I'm not sure if I would need it to be faster than
> instantaneous.
It isn't really. Fields are probably the most inefficient place to store
data that you need to access a lot. Another advantage of custom
properties is that you don't have to hide a data-storage object and
script around it.
Richard Gaskin wrote my favorite explanation about it:
<http://article.gmane.org/gmane.comp.ide.revolution.user/111226>
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list