[m-dev.] for review: speeding up the browser

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Feb 23 20:45:37 AEDT 1999


On 23-Feb-1999, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> Avoid a two-three second delay in the printing of (the top levels of) large
> data structures such as module_infos in the debugger.
> 
> browser/browse.m:
> 	Instead of computing the exact size of the term when we check whether
> 	we can print it in full, compute the size only up to the maximum,
> 	and skip the rest. This lets us avoid traversing 99+% of typical
> 	module_infos.

That one looks fine.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "Binaries may die
WWW: <http://www.cs.mu.oz.au/~fjh>  |   but source code lives forever"
PGP: finger fjh at 128.250.37.3        |     -- leaked Microsoft memo.



More information about the developers mailing list