Level / memory-level

In-memory abstract-level database for Node.js and browsers.
MIT License
25 stars 4 forks source link

Migrate functional-red-black-tree to Js-sdsl OrderedMap #5

Open ZLY201 opened 1 year ago

ZLY201 commented 1 year ago

Hey! I'm the developer of Js-sdsl. Official website: https://js-sdsl.github.io/

Now, we published the version 4.1.4.

I see you are using functional-red-black-tree.

In benchmark, we have confirmed that Js-sdsl is several times faster than functional-red-black-tree.

We would like to invite you to migrate red-black tree related functions to Js-sdsl v4.1.4 and I am willing to submit a pull request for this change.

Looking forward to your reply! :D

vweevers commented 1 year ago

Looks promising! I will have a closer look later (no promises as to when).

Any plans to publish a smaller npm package, i.e. one that contains only the RB tree?

ZLY201 commented 1 year ago

Thanks!

const xxx = require("js-sdsl/xxx"); support is being planned.