[erlang-questions] Which is best? string:concat or ++?

Wes James comptekki@REDACTED
Mon May 7 16:48:19 CEST 2012


On Mon, May 7, 2012 at 8:18 AM, Paul Barry <paul.james.barry@REDACTED> wrote:
> I take it that doing it that way is "faster" than string manipulation
> (or is there some other reason for this suggestion)?

Based on some discussion I've seen on the list in the past, I believe
binary is faster.  In my case, I'm using binaries to construct html
chunks as I'm using cowboy, but I think cowboy can also use io lists,
like Fred mentioned.

-wes



More information about the erlang-questions mailing list