|
From: <ja...@op...> - 2001-01-26 19:04:53
|
"Harry Mangalam" <man...@ho...> writes: > Jason, you god, > > the install script is MUCH improved (at least for developers) as it > now senses when a particular phase has been done and only rebuilds > if it hasn't - very Makefile-like in operation - makes for a ~10X > re-install speed when checking things! Ah... you noticed that speed improvement, eh?? I thought I could sneak that one in there without anyone noticing... ;-) I changed two things: * I stat all the .in files and there targets and only replace when the .in files are more recent (or if the Config.pm file is more recent). On a fresh install there are only the .in files, so everything is built, on an update only a few things.. * The old substitution code was quick to write, but slow to perform, loop over every .in file, loop over every line, loop over every subst param ==> !! n^3 !!. I changed it to be ~n^2 by only looping over the subst params *only if* there were any on the line. Since most files only have <1% of their lines substitutable, its an order of magnitude better. > Thanks! Just about finished my rcluster bashing and some interface edits. de nada ... jas. |