Commit Graph

12 Commits

Author SHA1 Message Date
fc9fc1a048 (fix) unsafe array access in skipf and skipb
skipf was accessed at index 81 (len only 81)
skipb was accessed at index -1 (u64::MAX)

I still don't know, why the skipb case didn't crash.
2023-06-16 16:57:25 +02:00
e446d9b74f rust version: backtracking simplified and other improvements
* backtracking: main loop simplified
* instead of the `fixed` Vec, we now use skip fields to calculate
  how many fields to skip in `next()` and `prev()`.
  This is faster because we get rid of the `if` statement
  thus no branching occurs.
2023-03-27 21:04:04 +02:00
198084206b rust version: fix calculation of loops/sec and solutions/sec 2022-08-26 08:38:05 +02:00
bc8cf33fd6 c_version: remove include string.h (accidentally added) 2022-08-26 08:35:13 +02:00
647286529b c_version: better datatypes 2022-08-26 08:34:00 +02:00
6a8208188a better datatypes, variable field size, showing loops/sec, solutions/sec 2022-08-04 21:39:04 +02:00
4acc288f15 C version for comparison 2022-08-04 20:45:24 +02:00
8df88d2c42 build: musl static binary + native + strip 2022-08-04 20:33:16 +02:00
cda502d79c time tracking 2022-07-19 08:20:15 +02:00
4f191d8689 safety considerations 2022-07-18 11:00:17 +02:00
9d157745d9 faster 2022-07-18 10:29:40 +02:00
867d6dce73 initial commit 2022-07-15 23:35:41 +02:00