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

Re: libapt-pkg: Are cache offsets part of the library interface?



On Sun, 25 Aug 2002, Simon Richter wrote:

>  - Getting the string via the iterator and using strcmp(). I believe
>    this is the proper way to do it, yet it needs lots of cycles.

Yes, this is the proper way, all the other ways won't work 100% with the
current code base.

There are a couple strings that are ment to be unique such as the
architecture and the package names (since they are never written more than
once) but in those cases it is generally meaningless to do comparison on
them anyhow.

Jason



Reply to: