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 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
-- www.tudorgirba.com
"Every thing has its own flow"
-- www.tudorgirba.com
"Every thing has its own flow" _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev