Artifacts Associated With Ticket 2544740
Ticket change [14ec987daa] (rid 124474) by dgp on 2009-01-29 05:49:04:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "20. [interp]"
- title initialized to: "[interp create] O(N^2) search for unused cmd name"
- type initialized to: "Bug"
Ticket change [5d12524275] (rid 259709) by serhiy.storchaka on 2026-10-21 10:03:36:
- icomment:
Fixed in 9.0.0 by [7a665fa1b6]: a per-parent counter replaces the search from <tt>interp0</tt>. 8.6 keeps the old loop.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [5700114488] (rid 260004) by serhiy.storchaka on 2026-10-22 17:19:30:
- closedate changed to: "2461334.9191767476"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"