Need for speed
H. S. Teoh
hsteoh at quickfur.ath.cx
Thu Apr 1 21:43:44 UTC 2021
On Thu, Apr 01, 2021 at 09:16:09PM +0000, Imperatorn via Digitalmars-d-learn wrote:
> On Thursday, 1 April 2021 at 21:13:18 UTC, H. S. Teoh wrote:
[...]
> > Thanks for the very interesting information; so it looks like most
> > of the time spent is actually in copying array elements than
> > anything else!
[...]
> Sorting takes longer proportionally though
I meant that most the time incurred by appending to the array element by
element is spent copying elements.
Obviously, sorting will not be as fast as copying array elements.
T
--
What do you mean the Internet isn't filled with subliminal messages? What about all those buttons marked "submit"??
More information about the Digitalmars-d-learn
mailing list