Next-Generation full text search library for Browser and Node.js
nodejs
javascript
search
open-source
search-engine
elasticsearch
web
search-in-text
fuzzy-search
standalone
web-worker
javascript-library
fuzzy
full-text-search
node-module
search-algorithm
searching-algorithms
fulltext-search
searching
-
Updated
Jul 30, 2021 - JavaScript
steps to reproduce
Write a loop, from 1 to 80000, each time add a random int to the max heap.
In theory it takes very little time(NlogN, N=80000, <1sec ), but the program does take a long time.
I'v also tested the BinaryHeap in https://github.com/SolutionsDesign/Algorithmia, it performs well, so it is probably due to the bad algorithm.