Just for the record, I cut the overhead of calling subroutines and in fact, minimized blocks ( like, if{} for{}, etc ) and gained a 30% increase in speed.
I believe what prompted me to do this was somebody's posting on perlmonks, but I forget who at this point...
In any case, perl still remains about 100 times slower than Java. ugh.
In reply to Re: Efficient N-Queen solution with Perl
by lestrrat
in thread Efficient N-Queen solution with Perl
by lestrrat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |