LL perf (Inventory): Inventory maps are ordered std::map/std::set keyed by LLUUID #346
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#346
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From the LL-origin inefficiency audit (finding I10). File/line references are from commit
0229f8872c; re-locate them before working.Inventory maps are ordered
std::map/std::setkeyed byLLUUIDllinventorymodel.h:108, 205-218, 719-720.mCategoryLock[id]/mItemLock[id]operator[]insidellassert_alwaysinserts per folder (.cpp:1692-1712).Verify the cost (profile or timer) before and after changing it.
No work started yet; back to To Do.
In 1.3.0 Beta 2: the inventory ID maps are now hash maps, with UUID-ordered iteration where order matters.
Moving to testing rather than closing: inventory changes need an alt-account check (copy / move / relog, nothing lost or duplicated) before this is called done.
Shipped in 1.3.0 Beta 2 (
ebd79bc503hashed id maps in LLInventoryModel; UUID-ordered iteration where order matters). Closing -- reopen or comment if you still see this.