Jump to content

Module talk:table/compressSparseArray

Page contents not supported in other languages.
මාතෘකාවක් එක්කරන්න
Wiktionary වෙතින්
oldiddate/timeusernameedit summary
844776422025-04-06T07:27:23ZTheknightwhoProtected "[[Module:table/compressSparseArray]]": Highly visible template/module ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))
844776382025-04-06T07:25:19ZTheknightwhoCreated page with "local table_num_keys_module = "Module:table/numKeys" local function num_keys(...) num_keys = require(table_num_keys_module) return num_keys(...) end --[==[ Given a list that may contain gaps (e.g. {1, 2, nil, 4}), returns a new gapless list in the same order.]==] return function(t) local list, keys, i = {}, num_keys(t), 0 while true do i = i + 1 local k = keys[i] if k == nil then return list end list[i] = t[k] end end"

Start a discussion about Module:table/compressSparseArray

Start a discussion
"https://si.wiktionary.org/w/index.php?title=Module_talk:table/compressSparseArray&oldid=221449" වෙතින් සම්ප්‍රවේශනය කෙරිණි