FEAT: Fix repeated iteration in serialization of StableGraph

To avoid scanning the nodes slice twice just to get the count of
elements (required for bincode), add wrapper types Somes and Holes that
help us transport the known size to where the serialization of the
sequences is implemented.
1 file changed