[m-rev.] diffs: speed up set_tree234.list_to_set

Zoltan Somogyi zoltan.somogyi at runbox.com
Wed Jul 27 20:10:52 AEST 2016


I noted that converting the list of valid pred ids to a set in switch_detection.m
took up much larger percentage of that module's time than I thought reasonable.
These diffs speed up list_to_set, and the merge sort that it now (indirectly) calls.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.set_tree234
Type: application/octet-stream
Size: 1162 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20160727/77b39e2a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.list
Type: application/octet-stream
Size: 2660 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20160727/77b39e2a/attachment-0001.obj>


More information about the reviews mailing list