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

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

Archive

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