logo       

Re: newbie question: msg#00312

lang.erlang.general

Subject: Re: newbie question

On Wed, 28 Jan 2004 16:57:25 +0200, Primanathan Reddy [ MTN - Innovation Centre ] <Reddy_P@xxxxxxxxx> 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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise