Marcus Crafter wrote:
> Hi Berin (& all),
>
> What do you think about the (untested) attachment. I'm wondering if
> the increase in code reuse yields too high a performance hit in
> comparison to the previous implementation ?
>
> Too slow ?
If it ain't broke, don't fix it :)
Seriously, The two buffer implementations were created with very
specific needs, and were highly tuned for those needs. I think it would
be a mistake to loose that tuning for code reuse.
The FixedSizeQueue needs to be changed to use the FixedSizeBuffer, but
I don't think it would be worth it to make VariableSizeBuffer extend
FixedSizeBuffer.
--
"They that give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety."
- Benjamin Franklin
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>