indexing object metadata to optimize edit writes, added bigsingleunion test
added generic-operator-index optimization, deduplication of repeated code branches via let, and various bugfixes and optimizations