New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
better than luaCanRxWorkaround solution for lua CAN RX performance problem #6041
Comments
you may be interested in FOME-Tech/fome-fw@d10e274 |
yes and no - skipping GC is cool but garbage is still being populated and GC is in createtable by default probably because tables are heavy? You measurements are missing total GC times, are those available to us? |
It doesn't skip the gc entirely. It skips calling it in the tight loop of doing CAN reception, deferring it to happen later (which it does). "total ms" is |
problem: #5841 due to extreme cost of
lua_newtable
on the order of 500us/0.5ms see #5841 (comment)temporary quick solution f6ca672
a more elegant solution is desired:
The text was updated successfully, but these errors were encountered: