On 9 May 2010 21:21, Lukas Renggli <[email protected]> wrote: >> but i seem found the cause of it: >> - its an annotation pane, which makes browsing so slow! > > Of course, but that was always like that, no? > > Searching through all the compiled methods to count senders and > through the changes file for the author takes a few 100 ms each time > you select a method. > well, since now i found what is the cause of it, so i can do something to have my cake and eating it too.
CodeHolder annotationRequests in Pharo: #(#timeStamp #messageCategory #sendersCount #implementorsCount #allChangeSets) in Squeak: Preferences defaultAnnotationRequests #(#timeStamp #messageCategory #implementorsCount #allChangeSets) So, the Squeak's browsers feels faster with annotation panes simply because they're not including #sendersCount by default, which takes a huge amount of time. And now, all i need to be happy again is just do following: CodeHolder annotationRequests: (CodeHolder annotationRequests copyWithout: #sendersCount ) i don't wanna argue, why Pharo includes this option by default, since i can turn it off anyways. Thanks , Lukas > Lukas > > >> >> Right now i have two browser windows opened - one with annotation pane, >> and other is not. >> >> The amount of delay between selecting a particular method and showing >> it in a code pane is significant. >> Its even different in a look & feel: if you have annotation pane >> turned on, each time you selecting a different method, >> it turns mouse cursor to a hourglass for a moment, and then turns it >> back to arrow. >> >> And while in browser without annotation panes i can scroll through >> methods list without feeling any seeming delay, >> in window with annotation pane, its feel like a system using a pigeons >> to deliver a method's sources to me :) >> >> >> On 20 January 2010 18:28, Igor Stasenko <[email protected]> wrote: >>> Please, don't take it as a offense, but as a constructive critics :) >>> >>> Pharo-core browser is awfully slooow! >>> That's why i prefer to develop in squeak trunk image. >>> Why it showing the distracting hourglass cursor when stepping over a >>> list of methods in method's list? >>> >>> (press and hold the up arrow key when inside a methods list)... damn.. >>> what happens there, that it consumes so much time >>> to just switch the source code in a single text pane? >>> >>> >>> -- >>> Best regards, >>> Igor Stasenko AKA sig. >>> >> >> >> >> -- >> Best regards, >> Igor Stasenko AKA sig. >> >> _______________________________________________ >> Pharo-project mailing list >> [email protected] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > > > -- > Lukas Renggli > www.lukas-renggli.ch > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
