memviz
memviz copied to clipboard
Special case rendering for sets
For maps of the form map[*something]struct{} we can render these specially as a set (i.e. don't bother rendering the empty struct every time). Similar could be done for map[*something]bool but that's less safe as that might not actually be a set