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

Re: BTS: How are the bug reports organized?

On Fri, Oct 01, 1999 at 07:36:28PM -0600, Jason Gunthorpe wrote:
> Consider if we have bugs 0->199 and you take the first digit. You end up
> with 10 bugs in each bucket except bucket '1' which has 110. Put that on a
> broader scale and account for expired bugs and you see the trouble.

Why not base the BTS directory structure on the perl phrase:

	(join "/", map {() unless $_} split /(...)/}).".html"


Or, if you just want directory names:

	join "/", /(...)/g

Or maybe use (..) instead (since 200 directory entries allows for finer
grained cache management than 2000).


Reply to: