The problem was fixed so that the styling happens always in the background. This is similar to what happens in the PluggableTextMorph.

It was tricky to find because the problem only became apparent somewhere between around 2000-4000 chars. Beyond 4000 chars, it became as fast as the other one :).

Cheers,
Doru



On Sat, Jun 7, 2014 at 7:07 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Here is how to reproduce the problem:

c := GLMCompositePresentation new.
c pharoPlayground.
c
openOn: (
(1 to: 100) 
inject: '' 
into: [ :all :i | 
all, String cr ,
'a', i asString, ' := 1 + 2 sqrt.' ])

Then start to type fast somewhere.

You can compare the same behavior with the TextMorph based implementation:

c := GLMCompositePresentation new.
c smalltalkCode.
c
openOn: (
(1 to: 100) 
inject: '' 
into: [ :all :i | 
all, String cr ,
'a', i asString, ' := 1 + 2 sqrt.' ])


Cheers,
Doru





On Sat, Jun 7, 2014 at 6:43 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Ok, I could reproduce it now. We will see what we can do.

Cheers,
Doru


On Fri, Jun 6, 2014 at 5:23 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
You see the code I've sent for the arrowed edges? Just typing it in a workspace end up being dead dead slow.

While typing, I presses cmd-o a few times. Serge also experienced this

Alexandre

> Le 06-06-2014 à 16:47, Tudor Girba <tudor@tudorgirba.com> a écrit :
>
> Can you be more specific?
>
> When is it slow?
>
> Doru
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow."
>
>> On 06.06.2014, at 15:45, Alexandre Bergel <alexandre.bergel@me.com> wrote:
>>
>> Sorry, it may be due to the use go GTInspector.
>>
>> Alexandre
>>
>>
>>> On Jun 6, 2014, at 2:50 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
>>>
>>> Hi!
>>>
>>> Since we have rubric, typing is dead slow…
>>> I have not done much profiling. But the method Text>>addAttribute: att from: start to: stop seems to be the culprit...
>>>
>>> Cheers,
>>> Alexandre
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"



--

"Every thing has its own flow"



--
www.tudorgirba.com

"Every thing has its own flow"