This is an automated email from the ASF dual-hosted git repository.

wenming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 94e4abd75 docs: fix some errors in the pre-allocate table (#10695)
94e4abd75 is described below

commit 94e4abd75b56bafd813da859a15ca5b6e0b18d06
Author: baiyun <[email protected]>
AuthorDate: Fri Dec 22 19:08:05 2023 +0800

    docs: fix some errors in the pre-allocate table (#10695)
    
    Co-authored-by: baiyun <[email protected]>
---
 CODE_STYLE.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CODE_STYLE.md b/CODE_STYLE.md
index f19bf355a..f6c0cc6ed 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

Reply via email to