This is already provided with the paging mechanism, and with another
one that does lazy computation of what is displayed (however, this
does not scale well).
Is there a way to profile a GC problem?
Doru
On 3 May 2010, at 22:19, Stéphane Ducasse wrote:
>>
>>> Oh, I see. You were scrolling between multiple list of tens of
>>> thousands of entities that were displayed on the next pane. The
>>> GC most probably comes from the MorphTreeMorph which has to
>>> create models to display all these elements.
>>
>> may be we can ask alain if we can get a caching tree.
I meant only computing what is shown.
> I do not see how this would solve the problem, but maybe I am
> missing something.
>
> A caching system would work if you go twice over the same item.
> But, in this case you just go through multiple lists. What would
> you cache?
>
> For each line in the list, you get multiple morphs. That is quite
> expensive. There already is the paging mechanism to only show a
> limited amount of items, and this is now workable. But, it still
> isn't quite as it should be.
>
> The coolest thing would be a parallel computation of the morphs :)
>
> Doru
>
>
>>> I am not sure what can be done about that.
>>>
>>> Doru
>>>
>>>
>>> On 3 May 2010, at 20:30, Stéphane Ducasse wrote:
>>>
>>>> I see it!
>>>> The icon gets changed really fast and you feel it.
>>>> Doru the scenario is simple, I opened a large model and clicked
>>>> on an item of the list then with the keyboard I wanted to move
>>>> down and I see all the time the gc kicked in. It measn that a
>>>> lot of garbage is generated.
>>>>
>>>>
>>>> On May 3, 2010, at 5:26 PM, Alexandre Bergel wrote:
>>>>
>>>>> How do you know about the GC? Using MessageTally?
>>>>>
>>>>> Alexandre
>>>>>
>>>>>
>>>>> On 3 May 2010, at 11:21, Stéphane Ducasse wrote:
>>>>>
>>>>>> if you take a model and click on an elements I see that the GC
>>>>>> is kicked in
>>>>>> each time I change a list element.
>>>>>>
>>>>>> There is something strange. We saw that with cyrille.
>>>>>>
>>>>>> Stef
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> Moose-dev(a)iam.unibe.ch
>>>>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>> --
>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>> Alexandre Bergel
http://www.bergel.eu
>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> Moose-dev(a)iam.unibe.ch
>>>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> Moose-dev(a)iam.unibe.ch
>>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>>
www.tudorgirba.com
>>>
>>> "Every now and then stop and ask yourself if the war you're
>>> fighting is the right one."
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev(a)iam.unibe.ch
>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
>
www.tudorgirba.com
>
> "Every thing has its own flow."
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
"There are no old things, there are only old ways of looking at them."