newbie question
Ulf Wiger
ulf.wiger@REDACTED
Thu Jan 29 13:42:15 CET 2004
On Wed, 28 Jan 2004 16:57:25 +0200, Primanathan Reddy [ MTN - Innovation
Centre ] <Reddy_P@REDACTED> wrote:
> The reuse of 'test' as module name and record name helps reduce the
> number of atoms used,
> but would this have an impact if any on performance when more complex
> calculations are done?
A good rule of thumb is: don't worry about the number of statically
created atoms. Dynamically created atoms can be a problem if your
set of possible atoms is not finite.
There are no speed issues. Atoms are represented as pointers to
entries in the global atom table.
/Uffe
--
Ulf Wiger
More information about the erlang-questions
mailing list