aboutsummaryrefslogtreecommitdiff
path: root/TODO.md
diff options
context:
space:
mode:
Diffstat (limited to 'TODO.md')
-rw-r--r--TODO.md36
1 files changed, 20 insertions, 16 deletions
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
161function. This is not too hard to add (just copy what the H48 solver is doing), 161function. This is not too hard to add (just copy what the H48 solver is doing),
162but also not too useful, as coordinate solvers are generally very fast. 162but also not too useful, as coordinate solvers are generally very fast.
163 163
164### Cube analysis
165
166A new API function can be added to analyze a given cube position.
167Example of analysis are:
168
169* HTR state. Should return a short name for the HTR case.
170* EO state (no NISS). First a nomenclature for EO cases should be defined.
171* ARM subsets.
172* VR case.
173
164## Performance improvements 174## Performance improvements
165 175
166I have worked a lot on performance, but some things can still be improved. 176I have worked a lot on performance, but some things can still be improved.
167 177
168### H48 performance improvements 178### H48 performance improvements
169 179
170The only idea I have left for improving the performance of the H48 optimal 180Some more tricks can be used:
171solver is implementing *microthreading*. This means making the main 181
172solve DFS iterative, and working on multiple DFS branches at the same 182* **Inverse bound after X and X' is the same**: this avoids an extra
173time on the same physical thread. The end goal is taking advantage of 183 table lookup.
174[prefetching](https://sebastiano.tronto.net/blog/2026-01-28-prefetch/) 184* **Sibling node bounding to >= N+2**: I attempted to implement this a
175even further. 185 while back, but got lost in details and ultimately gave up. With the
186 current pipelined setup it could be easier to implement. Performance
187 gain should be very small though (5%-10%).
188* **Microthreading**: Make the main solve DFS iterative, work on multiple
189 DFS branches at the same time on the same physical thread.
176 190
177### Coordinate solvers 191### Coordinate solvers
178 192
@@ -182,16 +196,6 @@ copy what is done for the H48 optimal solver), but coordinate solvers
182are generally small and fast. Parallelized pruning table generation 196are generally small and fast. Parallelized pruning table generation
183could save some time though. 197could save some time though.
184 198
185### Cube analysis
186
187A new API function can be added to analyze a given cube position.
188Example of analysis are:
189
190* HTR state. Should return a short name for the HTR case.
191* EO state (no NISS). First a nomenclature for EO cases should be defined.
192* ARM subsets.
193* VR case.
194
195## Technical improvements 199## Technical improvements
196 200
197I lumped together here a bunch of possible improvements that would not 201I lumped together here a bunch of possible improvements that would not

Generated with cgit - Back to sebastiano.tronto.net