Skip to content

sandover/gorgone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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<shared_ptr >

Repeats the procedures again with a block of 10 chars.

About

Bringing persitent collections to c++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.1%
  • Lua 5.9%