agentm / project-m36

Project: M36 Relational Algebra Engine
The Unlicense
876 stars 47 forks source link

load GraphRefRelVars instead of real expressions #328

Closed YuMingLiao closed 2 years ago

YuMingLiao commented 2 years ago

This time, If I createarbitraryrelation a {a Int} 1000000-1000000 and :commit twice, I have only one large transaction in disk.

The space usage should grow much slower.

agentm commented 2 years ago

Wow! I had assumed that Project:M36 was already doing this. As you guessed, the original intention was to only capture previous states by reference with the GraphRefTransactionMarker. Thanks for identifying and making a patch for this blatant bug!