Sciss/LucreData — Issue #3: Decreasing Memory Usage
Author: Sciss
Created: 2011-12-09 15:42:36+00:00
State: open
Labels: Idea

Probably we can do away with most instance fields in TotalOrder, SkipList, and Octree

- first of all, system could be a method on S#Txn ?
- the observers could be arguments to the mutating methods
- perhaps even the serializers and entryview? (although that's less nice, as it means we could mess around changing serializers)
- total order's root could be a method (? how about de-serialization). it's only used for the head method and could be avoided

Or perhaps things could be factored out as a 'setting'. That is to say, since we are going to have zillions of octrees with exactly the same settings for skipGap, hyperCube, pointView, system, space, hyperSerializer -- those six things could go into one object which is passed as a common reference around?