As someone touched on the big O notation and I know nothing on that subject I will offer another tool for measuring complexity.
Look up on cpan McCabe which is a very simple formula for determining the complexity of a particular piece of code. You can also look up Cyclomatic complexity for a explanation of the subject.
In reply to Re: Algorithm complexity
by Herkum
in thread Algorithm complexity
by fauria
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |