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
scan_weak_specialization_body, discover_nested_generic_specs, and
discover_direct_generic_call_specs already snapshot per-fn state via
clone() and reset the fields to fresh empty maps for the work; the
restore-side clone() then allocated a fresh copy of the snapshot just to
discard it. Inside the 8x6x8 retry loop over all files * generic fns,
those wasted clones were a major contributor to the gitly build memory
blowup (down from 20-27 GB to ~3.75 GB peak RSS).
Also:
- emit_map_str_functions / emit_map_eq_functions: skip late-registered
map aliases whose typedef wasn't emitted, otherwise the generated
helper references an undeclared type.
- expr.v: rewrite SelectorExpr on transformer-injected _or_t* temps so
Option-typed temps use .state and Result-typed temps use .is_error,
matching their actual C layout when the checker resolved the call to
the wrong overload.
0 commit comments