Migrated from https://git2.unturf.com/engineering/java-topology.git
Hostage pathfinding CLocalNav::FindPath() calls NodeExists() inside BFS expansion loop. NodeExists() linearly scans all existing nodes to check if coordinate pair already exists. With MAX_NODES=100, this is O(N^2) per FindPath() call (8 AddPathNode calls per expansion, each scanning all N nodes). Fix: unordered_set keyed on packed (offsetX, offsetY) for O(1) lookup. Reduces FindPath() from O(N^2) to O(N). 31.1x op-count reduction at N=100, 4/4 PASS. MOAD-0002 (intertangle): gpGlobals is standard GoldSrc engine state, CLEAN. MOAD-0003 (leaked context): single-threaded game DLL, no thread_local, CLEAN. MOAD-0004 (logged secret): no RCON/auth handling in game DLL, CLEAN. MOAD-0005 (thundering herd): single-threaded, no concurrent cache, CLEAN. |
||
|---|---|---|
| .github | ||
| .jcheck | ||
| bin | ||
| defects | ||
| doc | ||
| docs | ||
| make | ||
| scanner | ||
| src | ||
| test | ||
| tests | ||
| tools | ||
| whitepaper | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| ADDITIONAL_LICENSE_INFO | ||
| ASSEMBLY_EXCEPTION | ||
| CLAUDE.md | ||
| compile-unit-tests.sh | ||
| configure | ||
| CONTRIBUTING.md | ||
| GNUmakefile | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| SECURITY.md | ||
| UNDF-REGISTRY.json | ||
Welcome to the JDK!
For build instructions please see the online documentation, or either of these files:
- doc/building.html (html version)
- doc/building.md (markdown version)
See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.