[erlang-questions] Feedback wanted: Remove compilation times from BEAM files in OTP 19?
Fri Apr 8 14:44:54 CEST 2016
On Fri, Apr 8, 2016 at 1:16 PM, Loïc Hoguin <essen@REDACTED> wrote:
> The build time is occasionally useful but the same can be achieved by
> looking at the beam file creation or modification time.
> Is it just the build time though?
> Wouldn't these infos also be a problem?
Yes, some of them are potential problems.
> * Auto generated vsn (it looks like repeated builds keep the same version
> number if the source doesn't change, but is that guaranteed?)
Yes, it is guaranteed as long as the compiler
generates the code in the same way. That is,
new optimizations could change it (but in that
case, there would be other changes in the BEAM
file as well).
> * Compiler version (if two different compiler versions produce the same
> result except for the compiler version, this is a waste; if compiler version
> of a build is desirable it should probably be kept separate)
> * Compile options with paths
> * Source file name
More information about the erlang-questions