Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0xdewy/quicksort-huff

DsSort implemented in Huff.
https://github.com/0xdewy/quicksort-huff

ethereum evm huff quicksort solidity

Last synced: about 2 months ago
JSON representation

DsSort implemented in Huff.

Awesome Lists containing this project

README

        

## Quicksort-Huff

[ds-sort](https://github.com/reflexer-labs/ds-sort/blob/master/src/sort.sol) quicksort implementation written in [Huff](https://github.com/huff-language/huff-rs).

### Development

To compile Huff contract into bytecode:
```sh
huffc src/QuickSort.huff --bytecode

```

To run tests:
```sh
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