replaced Stack with vector

This commit is contained in:
Maxime Vorwerk
2023-08-29 15:32:21 +02:00
parent 6776098e1a
commit 77094a982f

View File

@@ -5,7 +5,6 @@ include("TupleMisc.jl")
include("plot.jl") include("plot.jl")
using XXhash using XXhash
using Serialization using Serialization
using DataStructures
using ArgParse using ArgParse
function main() function main()
@@ -42,7 +41,7 @@ end
function scanForShapes(MaxSize::Int64) function scanForShapes(MaxSize::Int64)
D = Dict{UInt, ImmutableOrientedShape}() D = Dict{UInt, ImmutableOrientedShape}()
S = Stack{Shape}(); S = Vector{Shape}();
cube = getCube() cube = getCube()
immutableCube = getImmutableOrientedShape(cube) immutableCube = getImmutableOrientedShape(cube)
D[immutableCube.hash] = immutableCube D[immutableCube.hash] = immutableCube