| Commit message (Collapse) | Author | Files | Lines | ||
|---|---|---|---|---|---|
| 2026-01-09 | Avoid duplicate lookups for tasks | Sebastiano Tronto | 1 | -6/+7 | |
| 2026-01-09 | Probably fix performance for short solutions, big tables | Sebastiano Tronto | 1 | -1/+23 | |
| 2026-01-09 | Improve visited nodes count | Sebastiano Tronto | 1 | -4/+4 | |
| 2026-01-08 | Small cleanup | Sebastiano Tronto | 1 | -5/+3 | |
| 2026-01-08 | Add back simple check, almost irrelevant | Sebastiano Tronto | 1 | -0/+4 | |
| 2026-01-08 | Skip pipeline if target == 0 | Sebastiano Tronto | 1 | -14/+26 | |
| 2026-01-08 | unswitch | Sebastiano Tronto | 1 | -40/+62 | |
| 2025-12-28 | Prefetch | Sebastiano Tronto | 1 | -2/+5 | |
| 2025-12-28 | cleanup | Sebastiano Tronto | 1 | -21/+15 | |
| 2025-12-28 | H48 prune pipeline | Sebastiano Tronto | 1 | -348/+170 | |
| 2025-12-24 | Use pval from cocsepdata, but there is no improvement | Sebastiano Tronto | 1 | -11/+17 | |
| 2025-12-24 | First small improvements | Sebastiano Tronto | 1 | -10/+235 | |
| 2025-12-19 | Minor improvement | Sebastiano Tronto | 1 | -2/+7 | |
| Add a trivial check to H48 solver. The benchmarks show, surprisingly, a more noticeable improvement for larger solvers (h10, h11). I was expecting it to be more noticeable for smaller solvers. It is likely that this change is irrelevant to performance and all changes in the benchmark results are just random chance. | |||||
| 2025-12-17 | Improve pruning value fetching and re-do benchmarks | Sebastiano Tronto | 2 | -20/+37 | |
| 2025-12-17 | Move some checks around, small improvement | Sebastiano Tronto | 1 | -11/+9 | |
| 2025-12-16 | Swap bit pairs in pval_min | Sebastiano Tronto | 1 | -5/+4 | |
| 2025-12-14 | Update comments | Sebastiano Tronto | 2 | -5/+7 | |
| 2025-12-14 | Cleanup, update documentation, fix examples | Sebastiano Tronto | 5 | -234/+156 | |
| 2025-12-14 | Bye bye h0k4 | Sebastiano Tronto | 5 | -310/+27 | |
| 2025-12-14 | Intertwined table seems to work | Sebastiano Tronto | 7 | -27/+177 | |
| 2025-11-24 | Fix duplicate solutions, overflow in maxsols and improve symmetry reduction ↵ | Sebastiano Tronto | 1 | -37/+41 | |
| for H48. This commit fixes two bugs: - A bug that caused duplicates solutions for symmetric scrambles. - An overflow in the maxsols parameter for the H48 solver, which caused it to find much fewer solutions than existed. Moreover, the H48 solvers has been improved by reducing by symmetry not only from the starting position, but also up to the first 4 moves. | |||||
| 2025-08-11 | Made H48 solver safer for 32bit size_t | Sebastiano Tronto | 1 | -2/+9 | |
| 2025-08-11 | Wrapped pthread use in custom API | Sebastiano Tronto | 3 | -56/+65 | |
| 2025-07-29 | All coordinates unsigned | Sebastiano Tronto | 8 | -74/+74 | |
| 2025-07-29 | Cleanup some TODOs | Sebastiano Tronto | 3 | -8/+5 | |
| 2025-07-28 | Make failed assert exit immediately | Sebastiano Tronto | 2 | -6/+4 | |
| 2025-06-19 | Small fixes | Sebastiano Tronto | 1 | -2/+2 | |
| 2025-06-18 | Trick fix | Sebastiano Tronto | 1 | -6/+21 | |
| 2025-06-18 | Change min depth for H48 tasks heuristic sort | Sebastiano Tronto | 1 | -1/+1 | |
| 2025-06-18 | Big speedup for H48 solver (heuristic sort of tasks) | Sebastiano Tronto | 1 | -19/+46 | |
| 2025-05-30 | More improvements to web solver | Sebastiano Tronto | 1 | -8/+8 | |
| 2025-05-28 | Fix small build error with clang | Sebastiano Tronto | 1 | -1/+2 | |
| 2025-05-27 | Removed VLA notation from function parameters. | Sebastiano Tronto | 2 | -8/+8 | |
| I found out that this gives undefined behavior when then size is 0. Better not to have it at all, it is confusing for other developers anyway. | |||||
| 2025-05-26 | Avoid pausing for logging only if poll_status() is null (h48 solver). | Sebastiano Tronto | 1 | -10/+7 | |
| This is a small amendment to c6a77f30f64be73a5e55e06336975f2ecfbb2324, which changed the way we log solutions while the h48 solver is running. With the method recently introduced, the main thread checks for solutions to log every 0.5 seconds, resulting in a possible slowdown of at most 0.5s per solve. The solutions are also logged when all worker threads are completed. With this new method, when the poll_status() callback function is NULL, which likely means nissy is not run interactively, we rely only on the final log on completion of the worker threads. This means less frequent logging, but at no performance cost. | |||||
| 2025-05-25 | Cleanup | Sebastiano Tronto | 1 | -1/+2 | |
| 2025-05-25 | Quick fix for bug | Sebastiano Tronto | 1 | -9/+8 | |
| 2025-05-23 | Do all loggin in main thread | Sebastiano Tronto | 3 | -67/+113 | |
| Before this committ, the solver (via the generic solution-appender routines in src/solve/solutions.h) and the H48 data generator did some logging in the worker threads, without using any locks. This was not nice, but in practice it did not cause any problem, because the log messages were rare. However, this turned out to be a problem when building to WASM, because web workers do not have access to the main JS memory, and therefore they cannot call functions from the main JS. This includes not only the callback functions for logging, but also those for polling the status of the solver (run / pause / stop). This commit fixes this at the cost or being somewhat inelegant: the solutions are not logged as they are found, but only every 500ms. | |||||
| 2025-05-19 | Refactored checkdata | Sebastiano Tronto | 4 | -92/+237 | |
| Relevant changes include: - Changed the signature of nissy_checkdata(). - Removed expected_distribution.h from tools; this data is now included in each solver's src/ code. - Removed distribution check for cocsep; may add back later. | |||||
| 2025-05-18 | Refactor solver dispatch and checkdata | Sebastiano Tronto | 6 | -86/+125 | |
| 2025-05-07 | Added build script | Sebastiano Tronto | 1 | -1/+1 | |
| 2025-04-29 | Added stop / pause / resume solve to API | Sebastiano Tronto | 1 | -5/+64 | |
| 2025-04-25 | NISS | Sebastiano Tronto | 1 | -16/+15 | |
| 2025-04-23 | Adjusted solvers, fixed bug | Sebastiano Tronto | 1 | -7/+8 | |
| 2025-04-22 | Update tests for oriented_cube_t | Sebastiano Tronto | 1 | -2/+2 | |
| 2025-04-21 | Always use unsigned char * for data buffers | Sebastiano Tronto | 5 | -73/+76 | |
| Before this commit I was inconsistently using one of void *, char * and uint8_t *. | |||||
| 2025-04-19 | Improved logging, especially for solve | Sebastiano Tronto | 3 | -32/+41 | |
| 2025-04-17 | Sped up checkdata for H48 tables | Sebastiano Tronto | 2 | -9/+57 | |
| 2025-04-17 | Small rework of optimal vs maxsols | Sebastiano Tronto | 1 | -10/+12 | |
| I wanted to make the "optimal" and "maxsolutions" options mutually exclusive, but in the end I decided there is value in keeping both (e.g. for specifying a limit to the number of solutions when asking for "all" optimal"). Now optimal cannot be negative anymore, for the same reason of maxsolutions. The interface user (shell, UI) will have to take care of handling this in a way that makes sense for the user. Usually this means setting the maximum number of solutions to UINT_MAX (or a similar very high number) when the user wants "all optimal". | |||||
| 2025-04-15 | Log solutions as they are found | Sebastiano Tronto | 1 | -3/+3 | |
| 2025-04-08 | Some minor changes to the interface. | Sebastiano Tronto | 1 | -1/+1 | |
| - Simplified logger to accept only a string, not a variadic list of args like printf(). This can still use some improvement, but now it is easier to use from other languages. - Fixed some misuses of the logger (wrong types etc) - Renamed some constants - Fixed some typos in comments. | |||||
