[erlang-questions] benefits of binary format strings?
Bjorn Gustavsson
bjorn@REDACTED
Tue Apr 3 11:31:43 CEST 2007
Yes, there is a slight performance benefit, as the format string will
be sent in a message to another process.
/Bjorn
Anthony Shipman <als@REDACTED> writes:
> The new R11B-4 has this change:
>
> OTP-6517 The Format argument of the functions io:fwrite/2,3 and
> io_lib:fwrite/2 is now allowed to be a binary.
>
> Are there performance benefits from writing io:format(<<"hello world~n">>, [])
> compared with a bare string?
>
> --
> Anthony Shipman Mamas don't let your babies
> als@REDACTED grow up to be outsourced.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions
mailing list