From 291b6cbea3f03913b8d2e2a88322185a69e94063 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 8 Feb 2024 14:39:55 +0100 Subject: [PATCH] deleted comment --- julia/PolyCube.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/julia/PolyCube.jl b/julia/PolyCube.jl index d9c44fb..9ce692b 100644 --- a/julia/PolyCube.jl +++ b/julia/PolyCube.jl @@ -47,7 +47,6 @@ function generate_children(pcube::PolyCube, n_max::Int) for root_cube ∈ pcube.last_added for neighbor ∈ neighbors(root_cube...) pos_growth_candidates = searchsortedfirst(growth_candidates, neighbor) - # consider flipping following &&, it MAY imrove performance if (pos_growth_candidates > length(growth_candidates) || growth_candidates[pos_growth_candidates] != neighbor) && isempty(searchsorted(cubes, neighbor)) insert!(growth_candidates, pos_growth_candidates, neighbor) end