Scheme keys are not de-allocated from memory when scheme variables go out of scope.
Added destructor to scheme to de-allocate keys and fix memory leak.
You may need to do something similar for serialized keys too, I did not look into it.
Other minor changes in this commit:
removed trailing commas "," in vector printing functions. Before output was [1,2,3,] rather than [1,2,3]
example code in README.md does not compile. Added undeclared "slots" variable to fix the problem.
Scheme keys are not de-allocated from memory when scheme variables go out of scope. Added destructor to scheme to de-allocate keys and fix memory leak. You may need to do something similar for serialized keys too, I did not look into it.
Other minor changes in this commit: