@string-data-structure/failure-function
v1.0.0
Published
String searching failure function for JavaScript
Downloads
26
Readme
:waning_crescent_moon: @string-data-structure/failure-function
String searching failure function for JavaScript. See docs.
import {build} from '@string-data-structure/failure-function';
const s = 'abracadabra';
const t = new Int32Array(s.length + 1);
build(s, 0, s.length, t, 0);