{"name":"memos/1022", "uid":"bM2QXjUQwZndjWaMxaBjoM", "rowStatus":"ACTIVE", "creator":"users/1", "createTime":"2025-09-03T21:40:00Z", "updateTime":"2025-09-03T23:54:32Z", "displayTime":"2025-09-03T21:40:00Z", "content":"Performance in Lua and design considerations:\n+ Optimisation Tips: http://lua-users.org/wiki/OptimisationTips\n+ Object Benchmark Tests: http://lua-users.org/wiki/ObjectBenchmarkTests\n+ *Is these Lua performance tips still accurate?* https://old.reddit.com/r/lua/comments/1142xw/is_these_lua_performance_tips_still_accurate/\n+ *Lua: performance of __index as a function vs as a table*: https://stackoverflow.com/questions/4355450/lua-performance-of-index-as-a-function-vs-as-a-table\n+ *Performance overhead using __index?* https://lua-l.lua.narkive.com/mtyoYFYg/performance-overhead-using-index\n+ *3 Different OOP approaches: performance, memory consumption, and aesthetics*: https://devforum.roblox.com/t/3-different-oop-approaches-performance-memory-consumption-and-aesthetics/1601163\n+ *Function call is expensive!* https://forums.solar2d.com/t/function-call-is-expensive/322922\n+ Some performance issues fixed by Luau: https://luau.org/performance", "nodes":[{"type":"PARAGRAPH", "paragraphNode":{"children":[{"type":"TEXT", "textNode":{"content":"Performance in Lua and design considerations:"}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"+", "indent":0, "children":[{"type":"TEXT", "textNode":{"content":"Optimisation Tips: "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"http://lua-users.org/wiki/OptimisationTips", "isRawText":true}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"+", "indent":0, "children":[{"type":"TEXT", "textNode":{"content":"Object Benchmark Tests: "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"http://lua-users.org/wiki/ObjectBenchmarkTests", "isRawText":true}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"+", "indent":0, "children":[{"type":"ITALIC", "italicNode":{"symbol":"*", "content":"Is these Lua performance tips still accurate?"}}, {"type":"TEXT", "textNode":{"content":" "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"https://old.reddit.com/r/lua/comments/1142xw/is_these_lua_performance_tips_still_accurate/", "isRawText":true}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"+", "indent":0, "children":[{"type":"ITALIC", "italicNode":{"symbol":"*", "content":"Lua: performance of __index as a function vs as a table"}}, {"type":"TEXT", "textNode":{"content":": "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"https://stackoverflow.com/questions/4355450/lua-performance-of-index-as-a-function-vs-as-a-table", "isRawText":true}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"+", "indent":0, "children":[{"type":"ITALIC", "italicNode":{"symbol":"*", "content":"Performance overhead using __index?"}}, {"type":"TEXT", "textNode":{"content":" "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"https://lua-l.lua.narkive.com/mtyoYFYg/performance-overhead-using-index", "isRawText":true}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"+", "indent":0, "children":[{"type":"ITALIC", "italicNode":{"symbol":"*", "content":"3 Different OOP approaches: performance, memory consumption, and aesthetics"}}, {"type":"TEXT", "textNode":{"content":": "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"https://devforum.roblox.com/t/3-different-oop-approaches-performance-memory-consumption-and-aesthetics/1601163", "isRawText":true}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"+", "indent":0, "children":[{"type":"ITALIC", "italicNode":{"symbol":"*", "content":"Function call is expensive!"}}, {"type":"TEXT", "textNode":{"content":" "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"https://forums.solar2d.com/t/function-call-is-expensive/322922", "isRawText":true}}]}}, {"type":"LINE_BREAK", "lineBreakNode":{}}, {"type":"UNORDERED_LIST", "unorderedListNode":{"symbol":"+", "indent":0, "children":[{"type":"TEXT", "textNode":{"content":"Some performance issues fixed by Luau: "}}, {"type":"AUTO_LINK", "autoLinkNode":{"url":"https://luau.org/performance", "isRawText":true}}]}}], "visibility":"PUBLIC", "tags":[], "pinned":false, "resources":[], "relations":[], "reactions":[], "property":{"tags":[], "hasLink":true, "hasTaskList":false, "hasCode":false, "hasIncompleteTasks":false}, "snippet":"Performance in Lua and design considerations:\n+Optimisation Tips: http://lua-users.org/wiki/Optimisa..."}