Bringing persitent collections to c++
C++ Lua
Pull request Compare This branch is 5 commits ahead, 2 commits behind elnopintan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
BUILDING.md
LICENSE
PersistentVector.h
README.md
RRBVector.h
main.cpp
premake4.lua

README.md

Gorgone

Turning mutability to stone.

C++ implementations of RRBVector (paper here) and PersistentVector.

Dependencies:

Boost 1.48

Known issues

RRBVector does not yet include fast concatentation.

main.cpp provides an example:

Creates a PersistentVector of Persistent vectors of long called v2. Iteratively inserts new vectors into v2, each one copy of the previous with a new data added. Iteratively calls pop() until v2 is empty. Writes the ellapsed time between operations;

Repeats this procedure with two kind of Vectors in order to compare times: TranisentVectorCopy. A transient vector that uses an std::vector. TransientVectorSPtr. A transient vector that uses an std::vector >

Repeats the procedures again with a block of 10 chars.