On Thursday 19 January 2006 03:57, Daisuke Maki wrote: > Perhaps somebody can think of a way to do something like this? > > my $tz = DateTime::TimeZone->new( > name => ... > aliases => ... > other_required_fields => ... > ); > > This would mean that we would be creating a single .xs file that has a > hash lookup of timezone names to C structs, and we would be initializing > the object with that data.
This makes me curious about something else... is it possible for different XS modules to become aware of their existence and then use, say, the exchange of a function pointer or vtable to establish cross-communication, sans perl overhead? This could allow for some remarkable optimizations across the board, I think, with the advantage that it would be easy to fall back on Pure Perl wherever necessary. > --d Cheers, Chase