icu4x
icu4x copied to clipboard
Use extend() with iterator as appropriate in normalizer and collator
I would like to try and tackle this issue. Two questions if you don't mind me asking:
- should I introduce new benchmark for the functionality to measure if the suggestion helped?
- I found another instance of mentioned code pattern (
for ... vec.push) in the same file, should I replace it too?
There are a few instances across those two crates, they should all be updated. I don't think benchmarks are necessary.
Does #2531 fix this issue?
I'm pretty sure there were more than 2 instances
I can handle remaining instances later today 👍
@hsivonen Can you set an assignee (or "help wanted") and a milestone (or "backlog")?
@hsivonen @kelebra Is this issue fixed?
I think I addressed all the remaining cases in the PR before, so should be fixed.
I can take care of that, would you mind assigning this to me?
@kelebra I can't assign the issue since you're not currently in the org, but feel free to contribute a PR!
I take that this is fixed now; thanks, @kelebra!