ModernUO/Projects/UOContent/Commands
Kamron Batman bff08c69d2
perf(objects): batch CAGLoader.BuildTree leaf insertion to O(N)
BuildTree previously grew each category's Nodes array by one element per
object via AppendObject/AppendNode, causing O(N^2) array copies across large
categories (e.g. Items.Uncategorized) on every server startup. Leaves are
now accumulated per-category in a List and flushed with a single array
allocation per category via a new AppendNodes helper. AddFallbackForStaleCache
and LoadLegacy are untouched.

Also adds a JSON round-trip test for ObjectIndexFile/ObjectIndexEntry to
guard the gfx/hue property mapping and the Objects = [] initializer against
double-appending on deserialize.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 12:38:05 -07:00
..
Generic fix: Fixes container enumeration not recycling pooled arrays (#2341) 2026-02-17 09:54:32 -08:00
Object Creation perf(objects): batch CAGLoader.BuildTree leaf insertion to O(N) 2026-07-19 12:38:05 -07:00
AddonGenerator.cs fix: AddonGenerator produces broken/incomplete addon output (#2517) 2026-07-12 10:15:25 -07:00
Batch.cs fix: Cleans up FixHtml (#1757) 2024-05-03 21:24:31 -07:00
BoundingBoxPicker.cs chore: Use var everywhere (#2294) 2025-12-27 16:47:28 -08:00
ClearCommands.cs feat: Adds ClearXY command (#2229) 2025-07-06 20:15:50 -07:00
DragEffects.cs fix: Fixes adding items with ambiguous type lookup (#2307) 2026-01-06 21:21:29 -08:00
Dupe.cs fix: Fixes duping bags (#2148) 2025-04-07 22:27:41 -07:00
ExportWSC.cs fix: Fixes missing methods. Adds more admin gump world building (#1675) 2024-02-10 20:31:25 -08:00
GenCommands.cs feat: Adds Network Packet Documentation (#2302) 2026-01-01 17:52:56 -08:00
GenObjects.cs feat(objects): ObjectCacheGenerator core + GenObjects command 2026-07-19 12:38:04 -07:00
Handlers.cs perf(messages): mechanical interpolation cleanups (#2436) 2026-05-03 18:26:49 -07:00
HelpInfo.cs feat: Adds grid support for the DynamicGump system (#2306) 2026-01-03 10:12:22 -08:00
LocationCommand.cs chore: Cleans up pattern checks. (#892) 2021-12-24 15:53:59 -08:00
Logging.cs feat: Add zero-alloc interpolation handler to ValueStringBuilder, replace all StringBuilder usage (#2387) 2026-03-22 14:23:44 -07:00
MovementDebugCommands.cs feat: Pre-Publish 14 Crafting (supersedes #2181, #2381) (#2476) 2026-06-07 20:27:22 -07:00
Properties.cs fix: Adds command help, webpage, and fixes issues with other commands (#1669) 2024-02-10 00:19:19 -08:00
ResetLocalization.cs fix: Fixes language casing and adds localization reset command (#1703) 2024-03-09 11:02:56 -08:00
ResetRng.cs fix: Adds command help, webpage, and fixes issues with other commands (#1669) 2024-02-10 00:19:19 -08:00
ResetStaffDress.cs fix: Adds command help, webpage, and fixes issues with other commands (#1669) 2024-02-10 00:19:19 -08:00
ShardTime.cs fix: Adds command help, webpage, and fixes issues with other commands (#1669) 2024-02-10 00:19:19 -08:00
SignParser.cs fix: Fixes GetInRange to use GetAt instead (#1768) 2024-05-09 14:01:25 -07:00
Skills.cs fix: Adds command help, webpage, and fixes issues with other commands (#1669) 2024-02-10 00:19:19 -08:00
SkillsMenu.cs fix: Adds command help, webpage, and fixes issues with other commands (#1669) 2024-02-10 00:19:19 -08:00
StaffAccess.cs perf(messages): mechanical interpolation cleanups (#2436) 2026-05-03 18:26:49 -07:00
VisibilityList.cs feat: Add spawn position caching and spiral scan optimization (#2295) 2025-12-28 02:40:21 -08:00
Wipe.cs fix: Adds command help, webpage, and fixes issues with other commands (#1669) 2024-02-10 00:19:19 -08:00