string in functions and memory allocation

Paolo Negri <>
Thu Jan 6 10:25:07 CET 2011

Dear list

I have a newbie question regarding the following 2 (dummy) functions

    Value = proplist:get_value(<<"booo">>),

    Value = proplist:get_value("booo"),

What I would like to know it's how calling these functions an elevate
number of times would affect memory allocation and garbage collection,
I'm asking because in other languages something like dummy_string
would allocate a new string at every call that would then need to be
garbage collected.

Thanks in advance for your help.


Engineering | phone +49-30-8962 5058  | fax +49-30-8964 9064

wooga GmbH | Saarbruecker Str. 38 | 10405 Berlin | Germany
Sitz der Gesellschaft: Berlin; HRB 117846 B
Registergericht Berlin-Charlottenburg
Geschaeftsfuehrung: Jens Begemann, Philipp Moeser

More information about the erlang-questions mailing list