Removing elements from dynamic arrays?
Sean Kelly
sean at f4.ca
Tue Oct 31 13:46:44 PST 2006
Chris Nicholson-Sauls wrote:
>
> Anyhow, clearly
> your .drop() is running very fast! I actually expected the opposite,
> and am surprised/impressed.
>
> Maybe you should release it into Cashew? ;) And maybe I should put
> more into benchmarking the entire Cashew array module. There might be a
> few more placed it could be sped up.
I'd be interested in seeing a test using C's memmove as well. Though
I'm not surprised drop beats the slice version, since that will allocate
a new array for the data.
Sean
More information about the Digitalmars-d-learn
mailing list