Releases: pverscha/SharedCore
Releases · pverscha/SharedCore
v1.0.0-alpha.9
This release drastically improves the performance of the Map.set() operation. On average, setting a large amount of values is 50% faster than in previous versions of the SharedMap.
Improvements:
- The
Map.set()operation is twice as fast on average when compared to previous versions.
v1.0.0-alpha.1
This is the first official release for version 1.0.0 of the shared memory datastructures library for JavaScript / TypeScript. This release is also the first release that fully implements the JavaScript Map API.
A variant of this release is also available for installation from npm (https://www.npmjs.com/package/shared-memory-datastructures).
Known limitations:
There are still a few limitations that we're currently working on. These might get resolved in a future release, and if so, will be clearly indicated in the accompanying release notes.
- Atomic reads / writes are not implemented yet. Right now, you can use the HashMap in this package by multiple workers at the same time, but it is recommended that only one worker writes to it. In a future release, we'll update the Map such that it automatically locks and unlocks the portions of the map that should be modified, resolving this limitation.