Bug #470
ValueMap::RemoveKey
Status: | Approved | Start date: | 05/15/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Miroslav Fidler | % Done: | 0% | |
Category: | Core | Spent time: | - | |
Target version: | - |
History
#1 Updated by Sender Ghost about 11 years ago
- File 470a_uppsrc.diff added
- File 470b_uppsrc.diff added
- Status changed from New to Patch ready
Since, there are no concrete requirements, I made two variants of patches:
a) The ValueMap::RemoveKey removes keys and corresponding values.
b) The ValueMap::RemoveKey just uses Index::RemoveKey for keys.
#2 Updated by Miroslav Fidler about 11 years ago
- Status changed from Patch ready to Ready for CR
- Assignee changed from Miroslav Fidler to Sender Ghost
Thanks, I have started with a), but used "mass" removal Remove... (Vector is capable of removing sorted set of indicies in single operation).
#3 Updated by Sender Ghost about 11 years ago
- Assignee changed from Sender Ghost to Miroslav Fidler
Miroslav Fidler wrote:
Vector is capable of removing sorted set of indicies in single operation.
Agreed, this is much faster.
The changes are ok.
#4 Updated by Miroslav Fidler about 11 years ago
- Status changed from Ready for CR to Approved