How to write efficient code?

I dont really like “mega optimization” but “advanced” luau optimization it is very desirable to know

Among such optimizations I can note:

  • smart corutine pools
  • basic buffer api or “easy to use” buffer wrappers like BinBuffer (ye my module why not)which allow you to maintain the speed and readability of your script
  • Just think where in your code “bottlenecks”
1 Like