I
ikinal
I've profiled our input of large database files that are spending
large amounts of
time using Date::Manip
functions such as ParseDateString and UnixDate.
[using the NYTProfile, a very nice tool!!!]
While in some cases, the data is repetitive, so at first glance, I
thought
memiozation might help
BUT In many cases, the data is different [it might be the seconds
value that
advances, etc], so there's still a big hit...
Looking at the code, it's pretty complex, so converting it to C code
and inlining seems a stretch...
Does anyone have any suggestions?
Thanks,
Ihor Kinal
large amounts of
time using Date::Manip
functions such as ParseDateString and UnixDate.
[using the NYTProfile, a very nice tool!!!]
While in some cases, the data is repetitive, so at first glance, I
thought
memiozation might help
BUT In many cases, the data is different [it might be the seconds
value that
advances, etc], so there's still a big hit...
Looking at the code, it's pretty complex, so converting it to C code
and inlining seems a stretch...
Does anyone have any suggestions?
Thanks,
Ihor Kinal