Sorry, it may be due to the use go GTInspector.
Alexandre On Jun 6, 2014, at 2:50 PM, Alexandre Bergel <[hidden email]> 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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 <[hidden email]> wrote: > > Sorry, it may be due to the use go GTInspector. > > Alexandre > > >> On Jun 6, 2014, at 2:50 PM, Alexandre Bergel <[hidden email]> 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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 <[hidden email]> 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 <[hidden email]> wrote: >> >> Sorry, it may be due to the use go GTInspector. >> >> Alexandre >> >> >>> On Jun 6, 2014, at 2:50 PM, Alexandre Bergel <[hidden email]> 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 > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 <[hidden email]> wrote: You see the code I've sent for the arrowed edges? Just typing it in a workspace end up being dead dead slow. "Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Once, the text presentation was also being incredibly slow and it was because of an “autoAccept” somewhere that was causing re-renders all the time. No idea if related, but it could be.
Esteban On 07 Jun 2014, at 14:07, Tudor Girba <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Tudor Girba-2
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 <[hidden email]> wrote:
"Every thing has its own flow"
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |