Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Validators should detect/autorepair duplicate items in Lists #111
There are a number of lists in the object model that arguably should not contain duplicated data. I use the phrase "arguably should not" because while the spec does not say these duplicates are forbidden or even wrong, it would make no sense.
This is a compromise (in response to Issue #84) to avoid adding the memory overhead of using HashSets or LinkedHashSets instead of ArrayLists in the underlying data model (HashSet uses 28 bytes more per item than an ArrayList, and a LinkedHashSet uses 36 more bytes per item).