Re: Please review & test this

2005-06-11 Thread Vlad GALU
On 6/11/05, Vlad GALU <[EMAIL PROTECTED]> wrote: > On 6/10/05, Vlad GALU <[EMAIL PROTECTED]> wrote: > > On 6/10/05, Vlad GALU <[EMAIL PROTECTED]> wrote: > > > As you may all know, the packet classifier in ALTQ is very > > > slow on large numbers of classes, because it stores them linearly,

Re: Please review & test this

2005-06-11 Thread Vlad GALU
On 6/10/05, Vlad GALU <[EMAIL PROTECTED]> wrote: > On 6/10/05, Vlad GALU <[EMAIL PROTECTED]> wrote: > > As you may all know, the packet classifier in ALTQ is very > > slow on large numbers of classes, because it stores them linearly, in > > an array. I rewrote the way classes are stored, re

Re: Please review & test this

2005-06-09 Thread Vlad GALU
On 6/10/05, Vlad GALU <[EMAIL PROTECTED]> wrote: > As you may all know, the packet classifier in ALTQ is very > slow on large numbers of classes, because it stores them linearly, in > an array. I rewrote the way classes are stored, replacing the array > with a hash table. I tested [1] on a