Commit Graph

37 Commits

Author SHA1 Message Date
ed5ad738e3 Revert "Move: bit madness"
This reverts commit afa80ac597.

Only made a 3% memory decrease, Most memory is used in the children Vec
2025-03-13 10:08:20 -04:00
afa80ac597 Move: bit madness 2025-03-13 09:33:47 -04:00
134f922b0a dead code removal 2025-03-12 10:48:31 -04:00
16eb6a1259 board optimizations 2025-03-12 10:28:32 -04:00
44560d9bfa PosMap: remove unneeded type bound 2025-03-11 17:32:38 -04:00
37292dd0f1 rename board variables 2025-03-11 17:08:24 -04:00
f84706ac40 board: optimize propegate_from calls (+4.7% perf) 2025-03-11 16:18:21 -04:00
72dc7b9a48 bitboard: make directional methods take step argument 2025-03-11 15:59:09 -04:00
a0cd9edc32 Board: use place for random board not place_unchecked 2025-03-11 14:39:44 -04:00
0c832b1c7b cleanup and fix warnings 2025-03-11 09:46:19 -04:00
69dc686d0a board backing referencing improvements 2025-03-10 21:48:31 -04:00
f64aa16143 typing improvements 2025-03-08 23:25:18 -05:00
3608366482 coord stuff 2025-03-05 22:05:15 -05:00
bdb1631b03 clippy 2025-03-05 20:17:50 -05:00
8a7496a492 CoordPair::from_axes 2025-03-05 20:17:48 -05:00
ea7df6a739 a 2025-03-04 15:47:21 -05:00
3341b1b411 create BitBoard::DIRECTIONS 2025-03-04 14:13:37 -05:00
445f94daf0 fix shift 2025-03-04 14:10:17 -05:00
204ba85202 overhaul chain system
This made the code so fast, that the `board` benchmark became completely useless.
So that benchmark was removed.

Overall, we're looking at a futher 20% performance increase in `future_moves`
2025-03-04 13:29:18 -05:00
57e61e6f9a s 2025-03-03 17:36:46 -05:00
c648be20aa Board: add random 2025-03-03 11:35:36 -05:00
97d914238c bench: add board place benchmark 2025-02-28 20:54:05 -05:00
72b146db55 clippy 2025-02-28 18:21:58 -05:00
fc02a9e512 use LazyLock instead of lazy_static 2025-02-28 18:10:39 -05:00
cbf47482ad simplify board functions 2025-02-27 23:32:20 -05:00
6ae1726010 abstract away more coordinates 2025-02-27 21:00:18 -05:00
abee9447ab remove unneeded const_assert 2025-02-26 23:53:43 -05:00
7ec8a66a4e switch coordinates to global 'Coord' type 2025-02-26 23:50:40 -05:00
52cf81ec58 refactor chains file 2025-02-22 19:50:32 -05:00
c8ac4ce84b move get_index to misc.rs 2025-02-22 19:41:50 -05:00
6d9be3dbe6 nits 2025-02-22 18:42:09 -05:00
6e1e8dac11 use chain.get instead of Some 2025-02-21 10:50:31 -05:00
2011ae001b cleanup 2025-02-20 19:33:15 -05:00
d29095bc9d place weighting 2025-02-20 19:14:31 -05:00
e1d83825b7 initial BVM usage (halfs performance :( ) 2025-02-20 16:40:11 -05:00
dc9432b07b initial BoardValueMap 2025-02-20 16:24:42 -05:00
1fe7658deb split off repr 2025-02-20 16:06:50 -05:00