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

Re: Announcing Debian Package Tags



On Wed, May 21, 2003 at 04:51:50PM +0200, Enrico Zini <enrico@debian.org> was heard to say:
> On Thu, May 08, 2003 at 09:22:03AM +0200, Stefano Zacchiroli wrote:
> 
> > Uhm ... what about shipping a separate library libdebtags? It seems to
> > me a good way to share the C code you mention in a previous mail and
> > also a good way to avoid future incompatibility if you decide to change
> > the format of the "package-tags".
> > 
> > Since the tools are really young, this seems a good moment for "good
> > design" (TM) things.
> 
> Just uploaded in sid!

  libtagcoll, right?

> At the moment, the API of the library has the shape of just a pile of
> classes thrown in.  I look forward to have some discussion with some
> other c++ addict with a twist on OO design, to see what could be a
> better way to organize the library.

  I actually have another concern:

torrent:~> time tagcoll hierarchy < /tmp/tags-current > /dev/null
tagcoll hierarchy < /tmp/tags-current > /dev/null  19.74s user 0.07s system 90% cpu 21.789 total

  It looks like some sort of caching scheme is going to be necessary to
use this in interactive programs.  Would it be possible for you to build
that into the library?  (the other option is that everyone writes his
own caching code)

  Also, you should be putting your tag database in /var, not /usr...

  Daniel

-- 
/-------------------- Daniel Burrows <dburrows@debian.org> -------------------\
|               Hi, I'm a .signature virus!                                   |
|               Copy me into your .signature to help me spread!               |
\------------- Debian GNU/Linux http://www.debian.org -- Because. ------------/



Reply to: