F
finer recliner
i just wrote a program in ruby that generates sudoku puzzles. its
fairly long (~600 lines) so i wont post it all here.
from what i've read from other programmers (who may have coded their
sudoku generators in C++ or java or something else) they're programs
are able to generate much faster than mine, claiming they can generate
hundreds of puzzles per second. mine can generate ONE puzzle in ~700
ms
so my question is, how can i use the ruby debugger to find out where
my application is spending most of its time, so i can try to optimize
it some more.
thanks in advance for the help.
fairly long (~600 lines) so i wont post it all here.
from what i've read from other programmers (who may have coded their
sudoku generators in C++ or java or something else) they're programs
are able to generate much faster than mine, claiming they can generate
hundreds of puzzles per second. mine can generate ONE puzzle in ~700
ms
so my question is, how can i use the ruby debugger to find out where
my application is spending most of its time, so i can try to optimize
it some more.
thanks in advance for the help.