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

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

Archive

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