Linear search in language pack export: diverged_messages
Bug #393765 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Jeroen T. Vermeulen |
Bug Description
During exports, POFile._getMessages keeps track of all diverged messages for the given POFile. The list is searched for every shared message that comes along.
That could become costly in the case of large templates, or ones with a long history of diverged messages. For those, a set would be better. (With small numbers a list is going to be faster, but that's more of an internal optimization issue for the set class).
Changed in rosetta: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in rosetta: | |
milestone: | none → 2.2.7 |
tags: | added: cleanup |
Changed in rosetta: | |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in devel 8775