2009-10-10 <jmerelo@localhost.localdomain>
* lib/Algorithm/MasterMind.pm (check_combination): Saving around
30% of the CPU time via optimization of this subroutine. Still
some room for improvement, though:
[jmerelo@localhost app]$ dprofpp -u
Total Elapsed Time = 13.84292 Seconds
User Time = 12.07292 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c Name
85.4 10.31 10.310 500146 0.0000 0.0000 Algorithm::MasterMind::check_combi
nation
9.71 1.172 12.806 367 0.0032 0.0349 Algorithm::MasterMind::Random::iss
ue_next
6.16 0.744 11.625 138572 0.0000 0.0001 Algorithm::MasterMind::matches
5.06 0.611 10.881 499779 0.0000 0.0000 Algorithm::MasterMind::check_rule
0.58 0.070 0.090 1 0.0699 0.0897 YAML::Type::code::BEGIN
0.50 0.060 0.389 7 0.0085 0.0555 main::BEGIN
0.49 0.059 0.195 40252 0.0000 0.0000 YAML::Base::__ANON__
0.49 0.059 0.059 454 0.0001 0.0001 Params::Validate::_validate
0.33 0.040 0.192 7 0.0057 0.0274 DateTime::Locale::BEGIN
0.31 0.038 0.097 449 0.0001 0.0002 DateTime::Locale::_register
0.30 0.036 0.065 5404 0.0000 0.0000 overload::AddrRef
0.24 0.029 0.029 322 0.0001 0.0001 Params::Validate::_validate_pos
0.22 0.026 0.026 5404 0.0000 0.0000 Scalar::Util::blessed
0.18 0.022 0.029 2335 0.0000 0.0000 YAML::Dumper::_emit_str
0.17 0.021 0.086 2235 0.0000 0.0000 YAML::Dumper::_emit_node
2009-10-03 <jmerelo@localhost.localdomain>
* t/00_functions.t: Fixed typo in test
2009-10-02 <jmerelo@localhost.localdomain>
* Makefile.PL: Added Algorithm::Combinatorics which is used to
compute next combination in the Sequential algorithm
2009-10-02 Juan J. Merelo <jmerelo@vega>
* lib/Algorithm/MasterMind.pm (not_in_combination): Starting 0.0.4
with adding info to the main module file.
* MANIFEST: Fixing a distribution but in 0.0.2 and also adding new
methods. Fixed bugs in Sequential, and added program to run
experiments.
2009-10-01 Juan Julian Merelo Guervos <jmerelo@geneura.ugr.es>
* MANIFEST: Started version 0.0.3 after fixing docs form version
one. Still waiting for fail reports.
2009-09-30 <jmerelo@localhost.localdomain>
* lib/Algorithm/MasterMind.pm (not_in_combination): Changing all
documentation to avoid problems, and added a few things.
* MANIFEST: Added set of files to the MANIFEST, and preparing
stuff for initial release
Revision history for Algorithm-MasterMind
0.0.1 Sun Sep 6 13:54:21 2009
Initial release.