Raphael Geissert <[EMAIL PROTECTED]> writes: > What about 'compiling' some of that stuff at build-time? > So the information is stored in a human-readable way but turned into a > faster representation when the package is built. cpp could be (ab)used for > that pourpose.
I thought about that -- it's fairly easy to do by just putting the str2time in the array initialization that happens at load time instead of later in the code. But the most common case for lintian is for a maintainer to run it on an individual package, and while making that fast isn't quite as important, I'd like the speed benefits to happen there too if possible. This one by itself won't matter very much, but sometimes lots of little improvements will make a noticable effect. -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

