Removed unnecessary intermediate array.  Microoptimized an extraneous check of $up.  Cleaned up some comments.
Re-ordered the checks in is_function_call() to put the fastest ones
first, and slowest ones last.  Inclusive time of 28000 calls to
is_function_call() in the nytprof run went from 15.8s to 12.3s