From f401516b3fc972e96b0a86b462c27b478615b950 Mon Sep 17 00:00:00 2001 From: baiyun Date: Fri, 22 Dec 2023 14:10:56 +0800 Subject: [PATCH] docs: fix some errors in the pre-allocate table --- CODE_STYLE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODE_STYLE.md b/CODE_STYLE.md index f19bf355aeb8..f6c0cc6edbdf 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -264,7 +264,7 @@ end ```lua --Yes local new_tab = require "table.new" -local t = new_tab(100, 0) +local t = new_tab(100000, 0) for i = 1, 100000 do t[i] = "a" end