Daisuke Maki wrote:
I'm thinking the memory inefficiency + the way util.o is one of the
culprits. let me try a few tests...
Just FYI, it has recently come to my attention that code like yours (and my
version.pm code) won't compile properly under GCC 4.0. Specifically, your
util.h headers may never be loaded:
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20348>
For your current setup, I think it will work as long as you don't use an .xs
file in the lib/... tree and expect that util.h will be loaded. To leave
yourself with the possibility of doing that, however, I would suggest renaming
util.[ch] to something unique.
HTH
John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747