On Thu, May 19, 2016 at 4:30 AM, Nicolai Hess <[email protected]> wrote:
> Squeak caches the opened readonly file(handle). It does not have to reopen > the file on every call for reading (readonly). > > Some years ago I profiled some code of a customer, and there was a single line that was taking up 80% of the total time. Guess what? I was the opening of a temp / log file, which was opened (read only) each time... Caching the opened file was a HUGE speed up. Cheers, > 2016-05-18 19:12 GMT+02:00 stepharo <[email protected]>: > >> I am wondering why does the search 'method source with it' take so long >> in Pharo 5? On my PC, When I select the text 'menu' and search for all >> 'method source with it', in Squeak 5 it takes 3 seconds. In Pharo 5 it >> takes 21 seconds. >> >> >> > -- Mariano http://marianopeck.wordpress.com
