0.0.5 • Published 7 years ago

wasm-sort v0.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

WebAssembly sort algorithm compiled by C.

Use

    import algorithm from './index.js';
    import {sortModel} from './index.js';

    var {bubbleSort} = await algorithm();

    // The second param is sort model. sortModel.asc, sortModel.desc.
    console.log(bubbleSort([3124,246,1,23,6,7],sortModel.asc));

Currently, Only have bubble sort.

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago