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

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

Archive

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