Am 16.04.2007 um 06:43 schrieb Brandon Black:
On the heels of the "bleadperl patch" email, I'd like to announce the
first development release of Class::C3::XS as well. Class::C3::XS is
something of a halfway-point between plain Class::C3 and the bleadperl
patch, which runs on 5.8.x. It is purely performance enhancement, it
can't do any of the "correctness" stuff in the bleadperl patch
(meaning all the same caveats of Class::C3 still apply).
I hope that its nearly as fast as the bleadperl patch at runtime
(although the load-time hit of Class::C3::initialize() will still be a
little slow). You don't use it directly, Class::C3 uses it
automatically if its available on the system.
You'll need a new dev release of Class::C3 itself as well, here are
the links (they should show up on CPAN soon too):
http://www.dtmf.com/Class-C3-0.15_02.tar.gz
http://www.dtmf.com/Class-C3-XS-0.01_01.tar.gz
Install those in a normal perl 5.8.x environment and see how it
goes :)
hmmm, although make builds the .xs file, make test can't find it, even
after install make test won't find it in it's installed place...
make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load....
# Failed test 'use Class::C3::XS;'
# at t/00_load.t line 9.
# Tried to use 'Class::C3::XS'.
# Error: Can't locate loadable object for module Class::C3::XS
in @INC (@INC contains: /root/Class-C3-XS-0.01_01/blib/lib /root/
Class-C3-XS-0.01_01/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /
usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/
perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 3)
line 2
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at t/00_load.t line 9.
# Looks like you failed 1 test of 1.
t/00_load....dubious
josef
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/