Varargs vs table for passing args
💬 General•Updated 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.