Improving integer_to_list/2 and integer_to_binary/2 performance for bases other than 10
Станислав Майоров <[email protected]> Thu, 13 Dec 2018 12:35:25 +0700
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <[email protected]> |
--===============4747729595594591377== Content-Transfer-Encoding: 8bit Content-Type: text/html; charset=utf-8 <div xmlns="http://www.w3.org/1999/xhtml">Good day,</div><div xmlns="http://www.w3.org/1999/xhtml"> </div><div xmlns="http://www.w3.org/1999/xhtml"><div>This patch improves the performance of the above functions by transferring them from Erlang to C in the form of BIFs.</div><div>BIFs are made based on those on which integer_to_list/1 and integer_to_binary/1 work.</div><div>Also fixed tests for these functions.</div><div>Check PR for implementation details:</div><div><a rel="noopener noreferrer" href="https://github.com/erlang/otp/pull/2052">https://github.com/erlang/otp/pull/2052</a></div><div><a rel="noopener noreferrer" href="https://github.com/erlang/otp/pull/2052.patch">https://github.com/erlang/otp/pull/2052.patch</a></div></div><div xmlns="http://www.w3.org/1999/xhtml">---</div><di v xmlns="http://www.w3.org/1999/xhtml">Stanislav</div> --===============4747729595594591377== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches --===============4747729595594591377==--