<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://test.st34an.tech/index.php?action=history&amp;feed=atom&amp;title=Module%3AParameters%2Fremove_holes</id>
	<title>Module:Parameters/remove holes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://test.st34an.tech/index.php?action=history&amp;feed=atom&amp;title=Module%3AParameters%2Fremove_holes"/>
	<link rel="alternate" type="text/html" href="https://test.st34an.tech/index.php?title=Module:Parameters/remove_holes&amp;action=history"/>
	<updated>2026-04-10T17:39:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://test.st34an.tech/index.php?title=Module:Parameters/remove_holes&amp;diff=21&amp;oldid=prev</id>
		<title>Jsrs701: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://test.st34an.tech/index.php?title=Module:Parameters/remove_holes&amp;diff=21&amp;oldid=prev"/>
		<updated>2026-04-10T07:25:46Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:25, 10 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawikidb:diff:1.41:old-20:rev-21 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jsrs701</name></author>
	</entry>
	<entry>
		<id>https://test.st34an.tech/index.php?title=Module:Parameters/remove_holes&amp;diff=20&amp;oldid=prev</id>
		<title>bob&gt;Djpwikiadmin: Created page with &quot;-- A helper function that removes empty numeric indexes in a table, -- so that the values are tightly packed like in a normal Lua table. -- equivalent to require(&quot;Module:table...&quot;</title>
		<link rel="alternate" type="text/html" href="https://test.st34an.tech/index.php?title=Module:Parameters/remove_holes&amp;diff=20&amp;oldid=prev"/>
		<updated>2023-09-08T00:12:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- A helper function that removes empty numeric indexes in a table, -- so that the values are tightly packed like in a normal Lua table. -- equivalent to require(&amp;quot;Module:table...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- A helper function that removes empty numeric indexes in a table,&lt;br /&gt;
-- so that the values are tightly packed like in a normal Lua table.&lt;br /&gt;
-- equivalent to require(&amp;quot;Module:table&amp;quot;).compressSparseArray&lt;br /&gt;
return function (t)&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	local index = 1&lt;br /&gt;
	local highest = 0&lt;br /&gt;
	for num, _ in pairs(t) do&lt;br /&gt;
		if type(num) == &amp;quot;number&amp;quot; and num &amp;gt; 0 and num &amp;lt; math.huge and math.floor(num) == num then&lt;br /&gt;
			highest = math.max(highest, num)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	for i = 1, highest do&lt;br /&gt;
		if t[i] then&lt;br /&gt;
			ret[index] = t[i]&lt;br /&gt;
			index = index + 1&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>bob&gt;Djpwikiadmin</name></author>
	</entry>
</feed>