Function Pointer Cast Handling in Pyodide

In the upcoming release of Pyodide version 0.19, we finally support the Python default recursion limit of 1000. We also attain a speed boost of somewhere between 10 and 20 percent. The code size was reduced by 25% from 12 megabytes to 9.1 megabytes. These gains came from this pull request which changed the way we handle function pointer casts. Here is a plot showing the improvements in recursion depth:...

December 21, 2021 · 14 min · Hood Chatham