[erlang-questions] list comprehensions speed

Oleg <>
Tue Feb 25 17:33:40 CET 2014


On Tue, Feb 25, 2014 at 04:22:05PM +0200, Dmitry Kolesnikov wrote:
> Hello,
> 
> [ Value || {Name, Value} <- A, Name =:= "name3"].

If we can use =:= for the string matching, why does string module contain equal()?

> is faster ;-)
> 
> - Dmitry
> 



More information about the erlang-questions mailing list