The question is how many unexpecting users and real-world yaml files would be affected by '<<' special treatment if it occurs as the first element of an array? There are two ways people could get stung by this -- legacy files which are being converted over to the new format, and peopl...
For a root node, thesizesarray holds the size of the set. For other nodes, it holds junk data. This uses both union-by-rank and path compression for an optimal runtime. It's also reasonably efficient in space, requiring only two integers for each element....