[m-rev.] for review: optimize the tests for builtin types when printing terms
Zoltan Somogyi
zoltan.somogyi at runbox.com
Thu Oct 17 02:20:27 AEDT 2019
For review by Julien, since it was his mod of term_to_xml.m that
tickled my memory of this old todo item.
On my laptop, this diff speeds up the attached microbenchmark
from about 2.6 to about 1.6 seconds.
Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.sw
Type: application/octet-stream
Size: 1105 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20191017/e9598589/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.sw
Type: application/octet-stream
Size: 39202 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20191017/e9598589/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: write_speed_test.m
Type: text/x-objcsrc
Size: 681 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20191017/e9598589/attachment-0001.bin>
More information about the reviews
mailing list