David Storrs wrote:

> On Mon, Aug 11, 2003 at 10:25:07PM +0200, awards wrote:
> > Hi,
> >
> > thank you, Now i have a new question.
> > If I do the code myself which I can do.
> > would the process of executing the program faster if I do the code myself or
> > if I use a Module i.e Date::Calc??
> >
> > regards
> > awards
>
> There is a small amount of overhead in loading a module, but it's
> generally negligible.  After that, the question of "will my
> hand-rolled code be faster than the module" comes down to a comparison
> between the particular way that you implemented the code versus the
> particular way that the module implemented it.  That is something that
> only benchmarking can answer for you.
>
> However, I would **strongly** recommend using the module.

He might want, though, to choose a different Date module, as Date::Calc was
created specifically for date-intensive calculations that may require a wide
variety of conversions.  The documentation for the module indicates that users
with more moderate date-handling needs should use a less-extensive module.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to