Commits

Author Commit Message Labels Comments Date
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert fill_next_cells to get_next_state.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Another optimisation. Made _get_next_cells accept the layout directly instead of the state.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert the states to array refs.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
A small optimisation of reusing variables.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
A significant optimisation.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Another small optimisation.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Small optimisation using index.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert a foreach { if { push } } loop to grep.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Got rid of an assignment.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert the return of _get_next_cells to indexes instead of xys. This made the runtime much faster - down to 3 seconds.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert next_cell and the input to _get_next_cells to an index.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
More optimisation, this time by a lookup table.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Optimised _get_next_cells. This reduced the run time to 10 seconds with --seed=24. nytprof reported it to consume the lion's share of the time.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert identifiers away from "pos" - it was ambiguous.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert _find_available_moves to _get_next_cells.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert the layout to a vec() so it will run faster.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add a customisable seed.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Convert to a more user-friendly layout-as-string output.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add a connectivity pruning.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add more to the generator.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add the initial version of the generator.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Tagging CPAN release as 0.0.3
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Bump the version number to 0.0.3.
Tags
cpan-releases/0.0.3
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add Module::Build to the configure_requires.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Add POD to abc-solve and got --help and --man.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Encapsulated the script inside a .pm file.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Document the format.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Correct the compilation instructions in the README. Build instead of make.
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Tagging CPAN release as 0.0.2
shl...@b384bcd7-cfd4-0310-aca0-d78b80f7b91b
Update the Changes.
Tags
cpan-releases/0.0.2
  1. Prev
  2. Next