Truebase-com / TruthStack

Monorepo for the Truth technology stack.
10 stars 1 forks source link

Detect & collapse unnecessary sequential ContentMeta instances #14

Open paul-go opened 5 years ago

paul-go commented 5 years ago

Basically, Reflex should implement it's own version of Node.normalize(). This should only be applied in the initial primitive -> meta translation phase. We have to be careful not to over-optimize here because some of these ContentMeta objects could have been added to the tree as a result of a recurrent function. (In this case, it needs to remain a separate object so that it can be pulled out later)