4 ms·
From skimming the source code it looks like the merge operation here adds the values for duplicated keys rather than replacing the first value with the second v
by khuey 9mo ago
From skimming the source code it looks like the merge operation here adds the values for duplicated keys rather than replacing the first value with the second value so using HashMaps's Extend impl won't work.
- tialaramex 9mo agoThanks, I missed that