diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-03-11 16:13:23 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-03-11 16:13:23 +1300 |
commit | bd7955cbc1c1746f37dcb0742603994fd2e04c90 (patch) | |
tree | 00bd1f0e6478aa4ea90de5db991a5bb9348f99c2 /src/locators | |
parent | 6fb6f2836232fe78dce507fa899629bbefb7b449 (diff) | |
download | assembler-bd7955cbc1c1746f37dcb0742603994fd2e04c90.zip |
Prevent duplicate parent and child entries for source units
The parent and child collections for hierarchical source units were
previously vecs, and would receive one entry for every symbol matched.
This was easily leading to many dozens of duplicate entries per unit,
which, while not impacting performance, seemed wasteful. The collection
types were changed to HashSets to prevent the collection of duplicate
entries.
Diffstat (limited to 'src/locators')
0 files changed, 0 insertions, 0 deletions