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
{{ message }}
Repository navigation
fix(native): avoid reparsing lipo output in list_architectures #174
In NativeMacOSProvider.#listArchitectures, the lipo output is parsed twice:
once for items
once again to compute total
This doubles parsing work for every list_architectures call.
Location
src/native/NativeMacOSProvider.ts:204-205
Why this is a bug
parseLipoArchitectures() does full tokenization and schema-validated transforms. Re-running it is redundant and can become an unnecessary CPU cost for large lipo -detailed_info outputs.
Impact
Extra latency in architecture enumeration on multi-architecture binaries.
Duplicate work in a hot utility path used by every contract that inspects native architectures.
Activity