fix(driver-twincat): resolve Medium code-review finding (Driver.TwinCAT-012)
GetMemoryFootprint now returns tagsByName * 256 + nativeSubs * 512 bytes instead of a hard-coded 0; document that the stream-and-discard symbol browse leaves no flushable cache so FlushOptionalCachesAsync is a deliberate no-op. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -325,7 +325,7 @@ re-discovery re-downloads the whole symbol table each time, itself a performance
|
||||
stream-and-discard design is intentional, report the real footprint of `_nativeSubs` /
|
||||
`_tagsByName` and document that the driver holds no flushable cache.
|
||||
|
||||
**Resolution:** _(open)_
|
||||
**Resolution:** Resolved 2026-05-22 — `GetMemoryFootprint()` now returns `(_tagsByName.Count * 256L) + (_nativeSubs.Count * 512L)`; documented that the driver has no flushable symbol cache (stream-and-discard design) so `FlushOptionalCachesAsync` remains a documented no-op.
|
||||
|
||||
### Driver.TwinCAT-013
|
||||
|
||||
|
||||
Reference in New Issue
Block a user