Skip to content

Conversation

@Kerl13
Copy link
Member

@Kerl13 Kerl13 commented Feb 13, 2021

This is meant to be used for sorting small arrays.

I think (?) I fully specified the behaviour of both functions but a second look is more than welcome

Also expose an auxiliary function which is going to be useful for
TimSort and cie.
[Array.blit t ofs t (ofs + 1) len] uses memmove under the hood which
allocates a temporary array, this is terrible in terms of performance.
@Kerl13 Kerl13 marked this pull request as draft February 16, 2021 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants