[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Converting RA and DEC to cartesians in Perl



> Impact on startup time is negligible either way, I imagine.  If you don't
> want the other functions imported, then do this:
>
>   use Math::Trig qw(deg2rad);
>
> Then only deg2rad is imported.

Hmm, there may actually be a reason why I haven't done that, but at the 
moment, I can't think of why...  Just tried it.  Negligible increase in 
startup time, like you said.  Execution seems faster though.

I'm using printf() rather than print in the current version, which speeds 
*execution* wonderfully (still slow though).

--B

# Fungal Parataxonomy                   Mycology Information (Mycoinfo)
# Webmaster, Staff Writer      **The World's First Mycology E-Journal**   
# <mailto:webmaster@mycoinfo.com>            <http://www.mycoinfo.com/> 
#
# First they ignore you. Then they laugh at you. Then they fight you.
# Then you win.                                     --Mohandas Gandhi


===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org