PDL is fast, very fast. A quick benchmark for writing some realistic
data size using FastRaw (btw, a short document delving into the pluses
and minuses of the different IO modules would be really cool -- right
now I have tried IO::Storable, IO::FlexRaw and IO::FastRaw; some of
you have also suggested FITS and IO::DiskCache. I am sure there are
other modules as well) --

punk...@lucknow ~/Data/carbonmodel/$perl pdl.pl
store_pdl took 33 wallclock secs ( 0.35 usr +  1.01 sys =  1.36 CPU)
store_bin took 208 wallclock secs (37.26 usr + 53.49 sys = 90.75 CPU)

But, I also continue to get the following errors from my short little
program (Perl 5.12.1, PDL 2.4.6) --

    my @dat = (1234, 123, 1, 0, 245, 5, 546, 10);
    my $row = ones(short, $x)->dummy * pdl(short, @dat);
    my $img = ones(short, $y)->dummy->dummy * $row;
    my $hdr = writefraw($img, 'pdl.dat');

Use of uninitialized value $dim in numeric lt (<) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
936.
Use of uninitialized value $dim in numeric lt (<) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
939.
Use of uninitialized value $dim in numeric gt (>) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
942.
Use of uninitialized value $dim in repeat (x) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
942.
Use of uninitialized value $dim in subtraction (-) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
943.
Use of uninitialized value $dim in numeric lt (<) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
936.
Use of uninitialized value $dim in numeric lt (<) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
939.
Use of uninitialized value $dim in numeric gt (>) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
942.
Use of uninitialized value $dim in repeat (x) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
942.
Use of uninitialized value $dim in subtraction (-) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
943.
Use of uninitialized value $dim in numeric lt (<) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
936.
Use of uninitialized value $dim in numeric lt (<) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
939.
Use of uninitialized value $dim in numeric gt (>) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
942.
Use of uninitialized value $dim in repeat (x) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
942.
Use of uninitialized value $dim in subtraction (-) at
/usr/local/lib/perl5/site_perl/5.12.1/darwin-2level/PDL/Core.pm line
943.



-- 
Puneet Kishor

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to