1 Nov 13:11
Re: thinlet using vectors
mike_hartshorn2 <mike_hartshorn <at> hotmail.com>
2004-11-01 12:11:11 GMT
2004-11-01 12:11:11 GMT
Hi Campbell, > Thanks for the patch link. I confirm that the patch eliminates the > JVM crash for huge lists regarding the tree control (and presumably > all other previous linked list type access patterns in Thinlet). > > So, for me, your patch is the start of A GoodThing(tm)(Continue reading). Glad the patch proved useful for you. My main goal in the approach to this problem was to have a minimal patch that could be applied to future versions of thinlet, with very little pain. I really need to be able to display tables/trees that will occasionally be in the 1-2000 element size. I'd like to think that we can get some sort of fix in place for this, but appreciate that this approach might not be to everyone's taste (although it does coexist with the original implementation) and so might not end up in the core thinlet. > But, as you have stated, the patch needs some refinements: > > And here's a first... > > The symptom I'm seeing with your patch (that I do not see with the > original code) is that as one scrolls down further > ... > then scrolling gets slower and slower, until the delay becomes
.
Glad the patch proved useful for you.
My main goal in the approach to this problem was
to have a minimal patch that could be applied to
future versions of thinlet, with very little pain.
I really need to be able to display tables/trees
that will occasionally be in the 1-2000 element size.
I'd like to think that we can get some sort of fix
in place for this, but appreciate that this approach
might not be to everyone's taste (although it does
coexist with the original implementation) and so
might not end up in the core thinlet.
> But, as you have stated, the patch needs some refinements:
>
> And here's a first...
>
> The symptom I'm seeing with your patch (that I do not see with the
> original code) is that as one scrolls down further
> ...
> then scrolling gets slower and slower, until the delay becomes
Is is possible to switch the implementation at runtime, or is it an
either/or change? Could you please prepare a final 'diff -u' patch
relative to the latest Thinlet.java in CVS, and send it to me?
Thanks in advance!
RSS Feed