Dave Rolsky wrote:
Tell you what; I'll write an implementation of my way (probably in XS) and we'll compare. I think you're mistaken; your storage methods requires conversion for all nontrivial operations (e.g. $dt->year), whereas mine only needs a conversion when changing bases (e.g. $dt->eastern_orthodox_easter). The only issue I need to deal with is determining which sub's compromise the actual implementation and which are producing values derivable from those subs. Going forward, it would be a very good idea to restructure the code so that this is obvious. I would even suggest going ahead and pulling all of the internals code out of the base module and create a default implementation module.So you want to greatly complicate the internals (and slow it down, I'd bet), for what?
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
