Skip to content

Remove BitonicSort15V/BitonicSort16V? #11

@manofstick

Description

@manofstick

BitonicSort<T>.Sort(...) is only called in HybridSort when the length is less than SMALL_SORT_THRESHOLD_ELEMENTS = 112 so it never uses the larges of the BitonicSortxxV methods (i.e. 15 & 16).

It is called in CopyAndSortWithBitonic which uses a larger threshold of BitonicSort<T>.MaxBitonicSortSize = 128 but this could just be shrunk for what is really just a small use case.

Anyway, once again, I understand the whole thing is a bit of a WIP, but I always find I never get back to these things if I don't do it sooner rather than later! (Well this Issue will remind you anyway :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions