[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GSoC status: classification, output format and more



Raphael Geissert <atomo64+debian@gmail.com> 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 (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: