Am 06.03.2007 um 15:35 schrieb Stephen Deasey: > > How does the lazy loader compare to Tcl's -lazy switch to pkg_mkIndex? > > http://www.tcl.tk/man/tcl8.4/TclCmd/pkgMkIndex.htm
I have absolutely no idea. Our lazy-loader depends on the command trace utility. I yet have to see what pkgindex is using. Overall, I still think that using ns_ictl is the real solution to interp init problem. Perhaps not the fastest but most definietly the most flexible and universal one. Simply, we'd collect list of all files we'd need to source and just register callback's to run them at interp init. This is trivially implemented and would IMHO run more/less at the same speed but be more generic and foolproof. It would not save us memory as the lazy loader does, but it would be more generic. Cheers Zoran ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ naviserver-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/naviserver-devel