Skip to content

Commit

Permalink
Optimise 'get many' operations (#141)
Browse files Browse the repository at this point in the history
* Update deps
* Optimise getAll actions
  • Loading branch information
jakearchibald committed Jan 11, 2022
1 parent 7378da9 commit c0de67d
Show file tree
Hide file tree
Showing 4 changed files with 1,715 additions and 2,254 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This is a super-simple promise-based keyval store implemented with IndexedDB, originally based on [async-storage by Mozilla](https://github.com/mozilla-b2g/gaia/blob/master/shared/js/async_storage.js).

It's small and tree-shakeable. If you only use get/set, the library is ~370 bytes (brotli'd), if you use all methods it's ~570 bytes.
It's small and tree-shakeable. If you only use get/set, the library is ~370 bytes (brotli'd), if you use all methods it's ~650 bytes.

Although this is tiny, it's a little larger than previous versions due to a [massive bug in Safari](https://bugs.webkit.org/show_bug.cgi?id=226547). Hopefully this fix can be removed in the not-too-distant future, when a version of Safari without the bug reaches enough users.

Expand Down

0 comments on commit c0de67d

Please sign in to comment.