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 

May 2026

World Cup stickers 2026

Apr 2026

A new puzzle every day
Mixing Wordle with other games

Feb 2026

Christmas (2025) is over
 2025 

Dec 2025

Christmas card 2025

Nov 2025

Christmas (2025) is coming!

Sep 2025

The partridge puzzle

Aug 2025

TMiP 2025 puzzle hunt

Jun 2025

A nonogram alphabet

Mar 2025

How to write a crossnumber

Jan 2025

Christmas (2024) is over
Friendly squares
 2024 

Dec 2024

A regular expression Christmas puzzle
Christmas card 2024

Nov 2024

Christmas (2024) is coming!

Feb 2024

Zines, pt. 2

Jan 2024

Christmas (2023) is over
 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

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

Archive

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