[erlang-questions] direct binary to integer conversion
Steve Davis
steven.charles.davis@REDACTED
Sun Jan 1 16:50:11 CET 2012
Actually this parse_integer ... it's around the same speed as
string:to_integer...
however:
list_to_integer(binary_to_list(<<"-12345">>))
is about 30% faster than both
On Jan 1, 3:13 am, Max Lapshin <max.laps...@REDACTED> wrote:
> What for such complicated functions?
>
> Do you think, that such recursive function is better than creating
> temporary list?
> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@REDACTED://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list