Skip to content

Add a static C baseline #7

@Mikah-Kainen

Description

@Mikah-Kainen

Artem

We want generic sorts that can work with varying types of elements in one compilation unit, which rules out things like hiding the element type behind a macro as is done here, for instance:

To maintain the generic interface, our C baseline uses many small memcpy's that operate on individual elements, and there's no way around it with the said generic restriction (I believe). But it was suggested in the past, that it may be a good idea to add a monomorphic baseline like the above one (arielf/sortlib) beside the existing one for the variety's sake.


Copied from https://github.com/michaelborkowski/lh-array-sort/issues/35.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions