💬

Community answer

Collected from the ACE community Discord archive around 2021-07-25. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Varargs vs table for passing args

💬 GeneralUpdated 2 days ago•1 views
Varargs are faster than table packing but harder to work with - for hot paths prefer ... args; tables are easier for named/optional fields.

Is vararg faster than passing a table

Varargs are faster than table packing but harder to work with - for hot paths prefer ... args; tables are easier for named/optional fields.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.