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

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

Archive

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