valueDiff for arrays?
Brian Milby
brian at milby7.com
Sat Aug 4 15:00:05 EDT 2018
Plugins should probably be de-scriptified for distribution for this
reason. A similar argument could be made for some IDE library code too. I
have to wonder if there is any performance impact to the number of stacks
the IDE has to deal with now that so much is scriptified. (The list of
stacks is a linked list and finding a stack by name goes through the list
at least in one spot.). I've been thinking of how to test this sort of
thing to measure it
It would be similar to how copy-on-write does incur a small amount of
overhead when compared to pass-by-reference that was demonstrated in an
earlier discussion. The result there was that if you need to optimize for
speed, reference is still helpful. If you are purely concerned about
memory usage, then it isn't needed.
On Sat, Aug 4, 2018 at 1:41 PM, Mark Wieder via use-livecode <
use-livecode at lists.runrev.com> wrote:
> On 08/04/2018 11:23 AM, Mark Waddingham via use-livecode wrote:
>
> However, over time I'd suggest we look at it sitting in a
>> mobile-permissions script library. Given the dynamic nature of handler
>> dispatch in LC, there's all kinds of things we can do to make it really
>> easy to adapt for particular projects.
>>
>
> Although I do have to bemoan the proliferation of script stacks in the
> Project Browser list. This especially became onerous when the Navigator
> plugin started using script-only stacks. It's a pain having to scroll
> through all those stacks that I'm never going to edit, and it's a pain
> having to remove the plugin each time a new build comes out so that I don't
> have to scroll through them just to work on system stacks.
>
> --
> Mark Wieder
> ahsoftware at gmail.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list