Consider adding a note about the fact that the order of elements within the compacted set is not guaranteed to match the original set.