Sudden slowdown... - solved - but why?
Doug Lerner
doug at webcrossing.com
Mon Jan 26 20:39:58 EST 2004
On 1/27/04 10:26 AM, "Alex Rice" <alex at mindlube.com> wrote:
>
> On Jan 26, 2004, at 6:13 PM, Doug Lerner wrote:
>
>> I figured out the cause. I had been logging stuff into a field in a
>> particular substack and had been saving that substack too. I cleared
>> out the
>> field and it sped up again.
>>
>> But...why would the presence of a field with a few million characters
>> in it
>> slow down the interaction of the entire application?
>
> Just a guess: is it possible that field is getting the keyboard focus
> ever?
No. Never.
>
> nonetheless, field access is slow compared to variables, arrays and
> custom properties. Maybe use a custom property and put into the fld
> only when display is required.
Good idea. I'll try that if it comes up again. In the meantime, I'm just
logging a lot less stuff there! :)
doug
More information about the use-livecode
mailing list