Skip to content

Releases: amal/tkvs-kt-playground

v0.2.0

31 Jan 20:40
v0.2.0
5975280
Compare
Choose a tag to compare

Added

  • second implementation based on a stack of maps.

Now has 2 implementations:

  1. TkvsSingleMap.kt
    Implementation with single map, change logs, and value counters cache for O(1) computational complexity of count operation.
  2. TkvsStackOfMaps.kt
    Implementation based on stack of maps.

Run tkvs.jar with java -jar bin/tkvs.jar for an interactive console (uses "single map" implementation).
In the console, type h or help to see available commands.

Full Changelog: v0.1.0...v0.2.0

v0.1.0

31 Jan 20:34
v0.1.0
7fbbdba
Compare
Choose a tag to compare

🌱 First release.

Simple in-memory transactional key-value store.

  • Supports get, set, delete, count, begin, rollback, commit operations.
  • Supports nested transactions.
  • Commit/rollback operations apply changes from the last transaction.
  • Parallel/concurrent transactions are not supported.
  • Not thread-safe!

Main implementation calss: TransactionalKeyValueStore.kt

Run bin/tkvs.jar with java -jar bin/tkvs.jar for an interactive console.

In the console, type h or help to see available commands.

Full Changelog: 0d0cc2f...v0.1.0