1.1.1 • Published 5 years ago

th-sort v1.1.1

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

th-sort

Multithread Quicksort

Simple non-blocking quicksort algorythm in other thread.

Example

sandbox where you can sort one array in main thread and in separated thread.

Usage

import thsort from 'th-sort';

(async () => {
	// array is defined somewhere earlier
    const sorted = await tsort(array);
})()

// Or

tsort(array)
	.then((sorted) => {

	})

Installing

npm i --save th-sort
1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago