Re: [C++-sig] [Py++] Bug in balanced file writer

2011-05-22 Thread Kirill Lapshin
On Sunday, May 22, 2011 03:42 AM, Roman Yakovenko wrote: Suppose you have 24 class_creators and trying to split them into 10 buckets. What it currently does is: - how many creators per bucket? 24/10 = 2. uhm, ok. - split_sequence of 24 creators by 2, this returns 12 buckets -

Re: [C++-sig] [Py++] Bug in balanced file writer

2011-05-21 Thread Roman Yakovenko
On Thu, May 19, 2011 at 4:27 PM, Kirill Lapshin wrote: > Hi Roman/all, > > Today I've found what I believe a bug in balanced file writer. > > Suppose you have 24 class_creators and trying to split them into 10 > buckets. What it currently does is: > - how many creators per bucket? 24/10 = 2. uhm,

[C++-sig] [Py++] Bug in balanced file writer

2011-05-19 Thread Kirill Lapshin
Hi Roman/all, Today I've found what I believe a bug in balanced file writer. Suppose you have 24 class_creators and trying to split them into 10 buckets. What it currently does is: - how many creators per bucket? 24/10 = 2. uhm, ok. - split_sequence of 24 creators by 2, this returns 12 buckets