[erlang-questions] Ets and Postgres

Andras Georgy Bekes bekesa@REDACTED
Tue Dec 4 17:10:31 CET 2007

> > and insert that data combination into ets table ? So if user Petar
> > wants to buy ball for example,we'll make lookup for
> > key='ball_petar',will get back value='4_London',parse the value to
> > get price='4' and where_to_ship='London' ?
> Keys are not restricted to atoms.  You can use a tuple as key.

And you generally don't want to create atoms on the fly. It is a very 
very bad idea (atoms are not GCd).


More information about the erlang-questions mailing list