local C=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local J=require(C.Matter)local E=require(C.Matter_0_8)local l,f=J.component(),J.component()local T,w=E.component(),E.component()local Z=500 return{ParameterGenerator=function()local C,l=J.World.new(),E.World.new()for J=1,Z,1 do C:spawnAt(J)l:spawnAt(J)end return C,l end,Functions={["\077\097\116\116\101\114 \048\046\057"]=function(C,J)for C=1,Z,1 do J:insert(C,l({C}))end end;["\077\097\116\116\101\114 \048\046\056\046\052"]=function(C,J,E)for C=1,Z,1 do E:insert(C,l({C}))end end}}
--!optimize 2
--!native
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Matter = require(ReplicatedStorage.Matter)
local PinnedMatter = require(ReplicatedStorage.Matter_0_8)

local A, B = Matter.component(), Matter.component()
local pinnedA, pinnedB = PinnedMatter.component(), PinnedMatter.component()

local N = 500

return {
	ParameterGenerator = function()
		local world, pinnedWorld = Matter.World.new(), PinnedMatter.World.new()
		for i = 1, N do
			world:spawnAt(i)
			pinnedWorld:spawnAt(i)
		end

		return world, pinnedWorld
	end,

	Functions = {
		["Matter 0.9"] = function(_, world)
			for i = 1, N do
				world:insert(i, A({ i }))
			end
		end,
		["Matter 0.8.4"] = function(_, _, world)
			for i = 1, N do
				world:insert(i, A({ i }))
			end
		end,
	},
}
