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=require(C.Matter_0_9)local f,T=J.component(),J.component()local w,Z=E.component(),E.component()local D,Q=l.component(),l.component()local j=1000 return{ParameterGenerator=function()local C,r,X=J.World.new(),E.World.new(),l.World.new()for J=1,j,1 do r:spawnAt(J,w({}),Z({}))X:spawnAt(J,D({}),Q({}))C:spawnAt(J,f({a=true}),T({b=true}))end return r,X,C end;Functions={["\077\097\116\116\101\114 \048\046\056"]=function(C,J)for C=1,j,1 do J:get(C,Z,w)end end,["\077\097\116\116\101\114 \048\046\057"]=function(C,J,E)for C=1,j,1 do E:get(C,Q,D)end end,["\077\097\116\116\101\114 \085\110\114\101\108\101\097\115\101\100"]=function(C,J,E,l)for C=1,j,1 do l:get(C,T,f)end end}}
--!optimize 2
--!native
local ReplicatedStorage = game:GetService("ReplicatedStorage")

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

local A, B = Matter.component(), Matter.component()
local A_0_8, B_0_8 = Matter_0_8.component(), Matter_0_8.component()
local A_0_9, B_0_9 = Matter_0_9.component(), Matter_0_9.component()

local N = 1000

return {
	ParameterGenerator = function()
		local world, world_0_8, world_0_9 = Matter.World.new(), Matter_0_8.World.new(), Matter_0_9.World.new()
		for i = 1, N do
			world_0_8:spawnAt(i, A_0_8({}), B_0_8({}))
			world_0_9:spawnAt(i, A_0_9({}), B_0_9({}))
			world:spawnAt(i, A({ a = true }), B({ b = true }))
		end

		return world_0_8, world_0_9, world
	end,

	Functions = {
		["Matter 0.8"] = function(_, world)
			for i = 1, N do
				world:get(i, B_0_8, A_0_8)
			end
		end,
		["Matter 0.9"] = function(_, _, world)
			for i = 1, N do
				world:get(i, B_0_9, A_0_9)
			end
		end,
		["Matter Unreleased"] = function(_, _, _, world)
			for i = 1, N do
				world:get(i, B, A)
			end
		end,
	},
}
