the limit of luajit table ??
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
No repository file or test is named. Start by reproducing the two reported LuaJIT cases using table.new and indexed insertion, then investigate the runtime's table-size limits and how table overflow is handled. Done means documenting the applicable limit and establishing whether a supported workaround or change is possible.
Written by the indexing model from the issue text.
Description
249577944 items is not very big at my In my opinion,but luajit just overflow , so whats the limit ?? Can be overcome ??
tb = table.new(249577944,0)
table overflow
stack traceback:
[C]: in function 'new'
stdin:1: in main chunk
[C]: at 0x004051e0
tb = {}
for i = 1, 449577944 dotb[i] = "abcd"..i
end
PANIC: unprotected error in call to Lua API (stdin:2: table overflow
stack traceback:
stdin:2: in main chunk
[C]: at 0x004051e0)
- Dominant language
- Lua
- Stars
- 443
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openresty/lua-resty-string
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
openresty/lua-resty-string#109 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
openresty/lua-resty-string#95 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
openresty/lua-resty-string#92 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
openresty/lua-resty-string#91 · 4 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
openresty/lua-resty-string#90 · 1 comment ·
All issues in openresty/lua-resty-string
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jellyfin/jellyfin-mpv-shim#800 ·
Maintainers usually reply within 1 day
-
agent-research-finding bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jordansmall/nixvim-config#99 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
xmake-io/xmake#7822 · 3 comments ·
Maintainers usually reply within 2 days
-
bug(extras): kulala.nvim 6.0.0 has gone partially private / license change.Possibly taken A pull request linked to this issue is open or already merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
LazyVim/LazyVim#7270 · 3 comments ·
Maintainers usually reply within 2 days