[erlang-questions] Internal compiler atoms

Jachym Holecek freza@REDACTED
Fri Jul 28 16:44:57 CEST 2017


# Håkan Mattsson 2017-07-27:
> In this case the compiler itself generated more than 300K atoms while
> compiling my forms.
>
> Why is the atoms generated?

Names for variables introduced by the compiler. Names for functions
introduced by the compiler. Some of this seems to happen in v3_core,
have a look at new_fun_name/2 + new_var_name/1 and follow their
callers. There seems to be more besides v3_core, too.

> Is this anything that can be disabled?

Probably not, but ask a compiler expert. ;-)

BR,
	-- Jachym



More information about the erlang-questions mailing list