From f259f6c69be1ed010892771afb8717992996160a Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 30 Nov 2026 08:42:21 +0100 Subject: Added TODOs --- TODO.md | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index d8f28e8..55959fc 100644 --- a/TODO.md +++ b/TODO.md @@ -161,18 +161,32 @@ The coordinate solvers do not support pause / resume / stop via callback function. This is not too hard to add (just copy what the H48 solver is doing), but also not too useful, as coordinate solvers are generally very fast. +### Cube analysis + +A new API function can be added to analyze a given cube position. +Example of analysis are: + +* HTR state. Should return a short name for the HTR case. +* EO state (no NISS). First a nomenclature for EO cases should be defined. +* ARM subsets. +* VR case. + ## Performance improvements I have worked a lot on performance, but some things can still be improved. ### H48 performance improvements -The only idea I have left for improving the performance of the H48 optimal -solver is implementing *microthreading*. This means making the main -solve DFS iterative, and working on multiple DFS branches at the same -time on the same physical thread. The end goal is taking advantage of -[prefetching](https://sebastiano.tronto.net/blog/2026-01-28-prefetch/) -even further. +Some more tricks can be used: + +* **Inverse bound after X and X' is the same**: this avoids an extra + table lookup. +* **Sibling node bounding to >= N+2**: I attempted to implement this a + while back, but got lost in details and ultimately gave up. With the + current pipelined setup it could be easier to implement. Performance + gain should be very small though (5%-10%). +* **Microthreading**: Make the main solve DFS iterative, work on multiple + DFS branches at the same time on the same physical thread. ### Coordinate solvers @@ -182,16 +196,6 @@ copy what is done for the H48 optimal solver), but coordinate solvers are generally small and fast. Parallelized pruning table generation could save some time though. -### Cube analysis - -A new API function can be added to analyze a given cube position. -Example of analysis are: - -* HTR state. Should return a short name for the HTR case. -* EO state (no NISS). First a nomenclature for EO cases should be defined. -* ARM subsets. -* VR case. - ## Technical improvements I lumped together here a bunch of possible improvements that would not -- cgit v1.3