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: 7225 Reporter:@db4 Assigned to:@garrigue Status: assigned (set by @mshinwell on 2016-12-12T15:11:59Z) Resolution: open Priority: normal Severity: feature Version: 4.02.3 Category: middle end (typedtree to clambda) Tags: patch Monitored by:@gasche@hcarty
Bug description
Long time ago I asked in the mailing list about class method names in the opt-compiled binary [1]. It turned out that they are not necessary so then I made an internal patch to get rid of them. It does not improve performance, but excludes unnecessary data from binaries (e.g. size of lablgtk is decreased by 20%). The patch is attached, maybe you'll find it useful. Note the making "bootstrap" target is necessary while building OCaml compiler.
The path should now break anything. The only library I know that should be modified is batteries but the fix is trivial (sync batOo.mli with CamlinternalOO.mli)
The reduction in code size is attractive.
However, we must be careful that this introduces a change in semantics concerning instance variables and private methods : originally, only public methods were not allowed to have conflicting hashes, but with this patch this is extended to these 2 other categories.
So this requires some discussion. If this is the way to go, we may still want to rewrite the transclass part of the patch, to make it more readable.
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.
Original bug ID: 7225
Reporter: @db4
Assigned to: @garrigue
Status: assigned (set by @mshinwell on 2016-12-12T15:11:59Z)
Resolution: open
Priority: normal
Severity: feature
Version: 4.02.3
Category: middle end (typedtree to clambda)
Tags: patch
Monitored by: @gasche @hcarty
Bug description
Long time ago I asked in the mailing list about class method names in the opt-compiled binary [1]. It turned out that they are not necessary so then I made an internal patch to get rid of them. It does not improve performance, but excludes unnecessary data from binaries (e.g. size of lablgtk is decreased by 20%). The patch is attached, maybe you'll find it useful. Note the making "bootstrap" target is necessary while building OCaml compiler.
The path should now break anything. The only library I know that should be modified is batteries but the fix is trivial (sync batOo.mli with CamlinternalOO.mli)
[1] http://caml.inria.fr/pub/ml-archives/caml-list/2007/12/8ce5192907e067c310b658ad9bab8105.en.html
File attachments
The text was updated successfully, but these errors were encountered: