You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix multi-read optimizer: cache mutation, dead code, and usability issues
- Fix cache mutation bug: deep-copy cached ReadPackets before assigning
buffers so repeated calls don't corrupt cached state
- Remove dead _map_area_int method
- Replace per-call set comprehension with module-level _VALID_AREA_VALUES
frozenset for Area validation
- Fix O(n^2) byte concatenation in build_multi_read_request using list
and b"".join()
- Clear optimizer cache on disconnect
- Add use_optimizer attribute (default True) to allow opting out
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments