I need some DataGrid performance help
Richard Gaskin
ambassador at fourthworld.com
Wed May 6 14:58:59 EDT 2020
Mark Waddingham wrote:
> On 2020-05-06 17:36, Richard Gaskin via use-livecode wrote:
>> A while back Mark Waddingham reviewed the situation and decided that
>> getProp and setProp were indeed more rightly in the category of custom
>> messages rather than system messages, and as such should ideally be
>> immune to the effects of "lock messages".
>
> If by a 'while back' you mean the thread from 2013 in the engine forum
> (http://forums.livecode.com/viewtopic.php?f=66&t=18048) then that's a
> long time ago! If I have commented more recently on this, then a
> reference to what I said would help :)
I look forward to having the luxury of time to catalog your every word.
:) In the meantime I work with what I can recall offhand, and trust
you'll provide correction where needed.
Thanks for doing so here:
> In reality if you want encapsulated custom controls which cannot be
> broken by user scripting around them, then it is not just property
> handlers which should be immune to lock messages, all engine messages to
> such a custom control should be immune.
"Cannot be broken by user scripting around them" is an enticingly high
threshold, but one I've never considered.
In an imperfect universe in which all decisions involve trade-offs, my
own modest desires would be satisfied well enough with being able to
lock messages without having to consider side-effects on the DataGrid or
other prop-driven scripts.
But keeping those implications in mind hasn't stopped me from delivering
anything yet, so I'll continue to do well with what we have.
> Regardless of what I said 7 years ago, now (being older, and maybe a
> little wiser) I don't think I really see how changing lock messages (and
> breaking a lot of code as a result!) would get us any further towards
> better custom controls would it?
Sure. Maybe this BZ item be closed to put the concern to rest?
https://quality.livecode.com/show_bug.cgi?id=226
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list