[m-rev.] for possible post-commit review: direct generation of jump tables on ptags

Zoltan Somogyi zoltan.somogyi at runbox.com
Thu Mar 14 19:14:35 AEDT 2024


I have benchmarked the effect of this change on the speed
of the compiler in a setup in which both versions being tested
were themselves compiled in a way that forced *all* switches
on primary tags to be jump tables. The result was a 1.2% speedup,
which was significantly larger than I expected.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.djt
Type: application/octet-stream
Size: 1266 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20240314/1054ff74/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.djt
Type: application/octet-stream
Size: 11434 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20240314/1054ff74/attachment-0001.obj>


More information about the reviews mailing list