From 947169af61bdd67d34fabd47a56be04e8468120d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Constant Erlang terms (also called literals) are now
+ Constant Erlang terms (also called literals) are
kept in constant pools; each loaded module has its own pool.
- The following function does no longer build the tuple every time
+ The following function does not build the tuple every time
it is called (only to have it discarded the next time the garbage
collector was run), but the tuple is located in the module's
constant pool: DO (in R12B and later) DO
days_in_month(M) ->
element(M, {31,28,31,30,31,30,31,31,30,31,30,31}).
@@ -235,9 +235,7 @@ true
return the same value. Sharing has been lost.
In a future Erlang/OTP release, it might be implemented a - way to (optionally) preserve sharing. There are no plans to make - preserving of sharing the default behaviour, as that would - penalize the vast majority of Erlang applications.
+ way to (optionally) preserve sharing. -- cgit v1.2.3