[erlang-questions] benefits of binary format strings?
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.
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
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions