From 43020af69d6932c7af0bc53b59c492775835a14e Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 25 May 2024 11:50:16 +0200 Subject: Small performance improvement in h48 coordinate / transform --- src/solve_h48.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/solve_h48.h') diff --git a/src/solve_h48.h b/src/solve_h48.h index 14c114a..d08fc72 100644 --- a/src/solve_h48.h +++ b/src/solve_h48.h @@ -71,8 +71,7 @@ coord_h48_edges(cube_fast_t c, int64_t coclass, uint8_t t, uint8_t h) cube_fast_t d; int64_t esep, eo; - //d = transform_edges(c, t); - d = transform(c, t); + d = transform_edges(c, t); esep = coord_fast_esep(d); eo = coord_fast_eo(d); @@ -181,8 +180,7 @@ gendata_cocsep_dfs(dfsarg_cocsep_t *arg) return 0; for (t = 0, cc = 0; t < 48; t++) { - //d = transform_corners(arg->cube, t); - d = transform(arg->cube, t); + d = transform_corners(arg->cube, t); ii = coord_fast_cocsep(d); arg->selfsim[*arg->n] |= (i == ii) << t; set_visited(arg->visited, ii); -- cgit v1.3