there really isn't a max size you should worry about - instead, be concerned with execution time. A script can be as large as necessary provided it executes in a timely fashion, and doesn't consume disproportional amounts of memory.
Try getting microtime at teh beginning and end of your script to see the execution time. This should give you an idea of your script's efficiency.
[ [ Chris ] ]