laforge49 / aatree

Immutable AA Tree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add uber map to calf

laforge49 opened this issue · comments

By adding uber map to calf, we begin to unify the internals of calf and yearling.

In yearling, the uber map is held by the db state and in turn holds only pending and app map.

In calf, uber map will hold only the app map.

We can then also move the code for db-get-sorted-map into core. The code for db-get-transaction-count can immediately be moved to core, as it does not depend on uber map.

The implementation of db-get-transaction-count is now entirely in core.

Calf now has an uber map. But now the map in calf held by the uber map should be called the app map rather than aamap.

Renamed aamap to app-map in calf.

db-get-sorted-map now implemented in core