mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
@Lord Sméagol: That's amazing. You've found the way for almost 8x speedup!
Danila P.
on /blog/119
×1               
@Danila P.: I think I have pushed VB.Net to its limit!
I moved the board from byte cells to 64 bit integer bitmaps (1 for each row);
using 8, 9, 10 variables for the 'active' rows instead of an array to reduce memory access.

I also partitioned the '9' and '10' search so other computers (I have a 6c/12t i7 3930K and a few quad cores) can assist using a mapped network drive.

All 2,332 distinct solutions of the '8' puzzle (12c/24t) now 16 secs (was 26 sec).

I have ported most of it to C ... just need to get the multi-threading working!
Lord Sméagol
on /blog/119
               

Archive

Show me a random blog post
 2026 

Feb 2026

Christmas (2025) is over
 2025 
▼ show ▼
 2024 
▼ show ▼
 2023 
▼ show ▼
 2022 
▼ show ▼
 2021 
▼ show ▼
 2020 
▼ show ▼
 2019 
▼ show ▼
 2018 
▼ show ▼
 2017 
▼ show ▼
 2016 
▼ show ▼
 2015 
▼ show ▼
 2014 
▼ show ▼
 2013 
▼ show ▼
 2012 
▼ show ▼

Tags

arithmetic weak imposition programming video games crossnumbers palindromes puzzles royal institution trigonometry pi error bars manchester kenilworth turtles preconditioning sound manchester science festival rust python stickers braiding chebyshev oeis rhombicuboctahedron accuracy draughts databet gaussian elimination flexagons crochet binary electromagnetic field pizza cutting weather station standard deviation hyperbolic surfaces machine learning realhats martin gardner partridge puzzle phd mathsteroids hats final fantasy quadrilaterals christmas estimation gerry anderson graph theory folding paper london data visualisation news warwick sorting dragon curves stirling numbers golden ratio coins javascript mathsjam tennis logs folding tube maps royal baby inverse matrices harriss spiral raspberry pi frobel the aperiodical interpolation matrix of minors games polynomials triangles nine men's morris errors boundary element methods datasaurus dozen plastic ratio numbers matrix multiplication crossnumber thirteen data crosswords determinants reuleaux polygons countdown pythagoras golden spiral noughts and crosses christmas card bots newcastle curvature approximation matrices correlation latex coventry world cup menace geogebra signorini conditions hannah fry logo php big internet math-off wool recursion 24 hour maths books runge's phenomenon misleading statistics probability pi approximation day european cup rugby captain scarlet guest posts football computational complexity game show probability bempp reddit live stream dinosaurs exponential growth chess bodmas squares bubble bobble anscombe's quartet pac-man people maths a gamut of games gather town finite element method platonic solids game of life geometry mathslogicbot national lottery zines ucl tmip propositional calculus ternary go cambridge mean fractals talking maths in public nonograms numerical analysis finite group statistics advent calendar map projections logic matrix of cofactors youtube matt parker friendly squares sobolev spaces dataset chalkdust magazine hexapawn wave scattering graphs sport convergence dates craft simultaneous equations speed light inline code radio 4 london underground alphabets cross stitch pascal's triangle fonts kings fence posts edinburgh asteroids regular expressions

Archive

Show me a random blog post
▼ show ▼
© Matthew Scroggs 2012–2026