Update floatreftarget.lua#14620
Conversation
Working around using ut8.codepoint since that was causing a stack overflow with rather large tables
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Thanks for the PR, but we're going to need more information than that to be able to accept it, especially if it's in a performance-sensitive setting. |
|
When I was rendering a document with some large tables I ran into this error:
Enumerating over the codepoints with utf8.codes instead of passing the whole big string to ut8.codepoint seemed like a reasonable workaround. But, I couldn't say if that is worse for performance. |
|
How big is that table? |
|
177 x 32. It isn't really readable for other reasons, just didn't expect it to crash the renderer. |
Description
Working around using ut8.codepoint in split_longtable_start since that was causing a stack overflow with rather large tables.
Checklist
I have (if applicable):