Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Note: This page is WIP.


Analysis

Data and continuations size

Data cost

A simple datum

Code Block
@42 <- "test"

...

channel: Par

...

a: ListParWithRandom

...

Transfer from Bob to Alice

Image Added


Continuations cost

...

...

for(x <- @42) {Nil}

...

channels: Seq[Par]

...

patterns: Seq[BindPattern]

...

continuation: TaggedContinuation

Transfer from Bob to Alice

Image Added

Image Added




Trie size

Leaf cost

Leafs are cheap themselves, the data usage comes from the size of data stored.

Skip cost

Image Added

Skip nodes take up 1.7kb for 90kb of pointerblocks.

Node cost



Image Added


Other data

LMDB












Takeaways/next steps

  1. Work through checkpoint creation (1 step instead of 13 steps) which would reduce the amount of stored tries (less data) 
    Jira Legacy
    serverSystem JIRA
    serverId50130123-f232-3df4-bccb-c16e7d83cd3e
    keyRCHAIN-3415
  2. Address EmptyPointer stored in Node pointer block. 
    Jira Legacy
    serverSystem JIRA
    serverId50130123-f232-3df4-bccb-c16e7d83cd3e
    keyRCHAIN-3226