function Heap.HeapifyObject(V,b)for M=1,#V,1 do if V[M]==b then V:_HeapifyBottomUp(M)break end end end function Heap.new()return setmetatable({},Heap.Meta)end return Heap

function Heap:HeapifyObject(element)
	for i = 1, #self do
		if self[i] == element then
			self:_HeapifyBottomUp(i);
			break;
		end
	end
end

function Heap.new()
	return setmetatable({}, Heap.Meta);
end

return Heap;
