Andrei Alexandrescu napisał:

> > I fear efficiency will get abstracted out. Say this is my internal buffer 
> > (pipes indicate front() slice):
> >
> > [ooo|oooooo|oo]
> >
> > Now I do appendToFront(3) -- how do you expose the expected front() without 
> > moving data?  
> 
> You do end up moving data, but proportionally little if the buffer is 
> large enough.

It still matters for frequent big munches. I'd like a minimum memory option if 
that's neccessary.

-- 
Tomek

Reply via email to