/quicksort-huff

DsSort implemented in Huff.

Primary LanguageSolidityGNU General Public License v3.0GPL-3.0

Quicksort-Huff

ds-sort quicksort implementation written in Huff.

Development

To compile Huff contract into bytecode:

    huffc src/QuickSort.huff --bytecode

To run tests:

    forge install && forge test

Warning

The sort function cannot handle uint256.max as it is currently used as a flag to indicate that the list is sorted