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
Original bug ID: 5288 Reporter:@lefessan Assigned to:@xavierleroy Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z) Resolution: fixed Priority: normal Severity: minor Platform: all OS: all OS Version: all Version: 3.12.0 Target version: 3.12.0 Fixed in version: 3.13.0+dev Category: ~DO NOT USE (was: OCaml general) Duplicate of:#5205 Monitored by:@ygrek
Bug description
Pattern-matching generate aliases of variables during its
compilation. Such aliases are evaluated lazily when they are used only
once. This optimization is performed even if they are used in an
abstraction, in which case they might make a bigger datastructure
escape from its scope, and lead to an important memory leak.
The following patch fixes this behavior by preventing the substitution when
aliases are used in abstractions and in loops.
Original bug ID: 5288
Reporter: @lefessan
Assigned to: @xavierleroy
Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z)
Resolution: fixed
Priority: normal
Severity: minor
Platform: all
OS: all
OS Version: all
Version: 3.12.0
Target version: 3.12.0
Fixed in version: 3.13.0+dev
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #5205
Monitored by: @ygrek
Bug description
Pattern-matching generate aliases of variables during its
compilation. Such aliases are evaluated lazily when they are used only
once. This optimization is performed even if they are used in an
abstraction, in which case they might make a bigger datastructure
escape from its scope, and lead to an important memory leak.
The following patch fixes this behavior by preventing the substitution when
aliases are used in abstractions and in loops.
File attachments
The text was updated successfully, but these errors were encountered: