𝖉𝖆𝖑𝖎𝖜𝖆𝖑𝖎

daliwali.neocities.org

249,200 views
360 followers
5,514 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 month 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 1 month 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 3 weeks ago

why would you leave a comment like this?

kaa's avatar kaa 3 weeks ago

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

Website Stats

Last updated 2 hours ago
CreatedOct 2, 2014
Site Traffic Stats

Tags

3d philosophy programming art psychology