Overview
| Artifact ID: | 14ec987daaa322657dfb6f63b8d00bc299b2ee06 |
|---|---|
| Ticket: | 2544740fffffffffffffffffffffffffffffffff
[interp create] O(N^2) search for unused cmd name |
| User & Date: | dgp on 2009-01-29 05:49:04 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
When not given a slave cmd name, [interp create] invents one of the form "interp%d". The search for an unused cmd name always starts with %d == 0 and increments by one, so a loop of [interp create] statements will exhibit N^2 performance to do an inherently linear task. Simply storing the last used %d value is enough to solve it.
- foundin changed to: "obsolete: 8.6b1.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "20. [interp]"
- title changed to: "[interp create] O(N^2) search for unused cmd name"
- type changed to: "Bug"