[luatex] runtime performance of lua(la)tex incl. gprof
Axel Kittenberger
axkibe at gmail.com
Wed Jun 21 13:41:54 CEST 2023
On Wed, Jun 21, 2023 at 12:04 PM Taco Hoekwater <taco at bittext.nl> wrote:
> Using dummy data doesn’t help I believe, because you then need to check
> the memory pointer against the dummy pointer instead of against NULL. That
> should not be helpful.
Albeit the idea was to be branch less in the function that is a bottleneck,
you are right, I threw something like this together (buggy, it will crash
on an unknown symbol) albeit it compiled the test that on the other hand
did indeed not help at all, even very slightly slower (likely due to
initialization time of the dummy variables)
- Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20230621/fc037c3f/attachment.htm>
More information about the luatex
mailing list.