openfoam-0002: CFCFaceToCellStencil::calcCellStencil allGlobalFaces dedup uses findIndex() O(G) linear scan inside nested forAll(cells)*forAll(faces) loop. Developer left comment "Note:should use hashset?" — confirmed defect. Fix: labelHashSet seen replaces findIndex, 77x op-count speedup at C=2000/F=12. stella: all 5 MOADs CLEAN. BreakpointMap uses unordered_map O(1); TrapArray uses std::array<uInt8,0x10000> O(1); single-threaded, no credentials, no thread-local identity, no thundering herd. |
||
|---|---|---|
| .. | ||
| patch | ||
| test | ||
| unit | ||
| SCAN-NOTES.md | ||