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

daliwali.neocities.org

781,936 views
920 followers
9,505 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 11 months 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.

5 likes
daliwali's avatar daliwali 11 months 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.

3 likes
mentaldump's avatar mentaldump 10 months ago

why would you leave a comment like this?

kaa's avatar kaa 10 months ago

I read an ongoing discussion about optimizing the code. ChatGPT found some useful optimizations.

Website Stats

Last updated 11 hours ago
CreatedOct 2, 2014

Tags

3d art nihilism