π–‰π–†π–‘π–Žπ–œπ–†π–‘π–Ž

daliwali.neocities.org

184,856 views
282 followers
4,914 updates
0 tips
> https://daliwali.neocities.org/documents/maze-solver.js ChatGPT has a lot of recommendations to optimize this code. Check it out, it's very satisfying to read.
1 like
daliwali's avatar daliwali 1 day ago

Jippity has no clue on how to make the code run meaningfully faster. what it produced is micro-optimized and less readable. for 1 million runs using the default arguments, my code runs in 940ms, jippity's version runs in 874ms. geppato can not generate a significantly faster solution, because none is in its training set.

2 likes
daliwali's avatar daliwali 1 day ago

Even Jippity's suggestions to prune the search space do not actually work, it's more costly to check Manhattan distance per iteration than the dead ends it avoids. Geppato's version is actually slower for larger grids, just changing from 3x3 to 6x6 and 100 runs, mine takes 14.1s while Geppato's version took 18.8s.

Website Stats

Last updated 1 day ago
CreatedOct 2, 2014
Site Traffic Stats

Tags

3d philosophy programming art psychology