Skip to content

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 02 Feb 21:34
· 865 commits to master since this release

V2.2.0 has enabled the overlappingSync functionality by default and improved the scheduling of sync operations to achieve better performance.

This release also introduces support for temporary databases. By simply omitting the path when opening a database, lmdb-js will auto-generate a temporary database (in the system temp directory), and delete it on close (it will also be opened with sync disabled for better performance). This can be useful for testing or creating intermediary tables.

The release also includes support for coordinating with the weak referencing cache to clear "kept" objects for better garbage collection in long-running synchronous jobs.

And v2.2.0 includes better performance for retrieving large binary entries by employing a reduced memory copying technique (affects entries over > 64KB).