Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make Filter::Util::Call the default engine for PDL::NiceSlice
This is the original source filter implementation.  The more
correct one using Filter::Simple is too slow.  Work to fix is
underway but postponed for PDL-2.009
  • Loading branch information
devel-chm committed Mar 15, 2015
1 parent 31266c2 commit 27764a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Basic/SourceFilter/NiceSlice.pm
Expand Up @@ -5,9 +5,9 @@ BEGIN {
'Module::Compile' => 'PDL/NiceSlice/ModuleCompile.pm',
); # to validate names

$PDL::NiceSlice::engine = $engine_ok{'Filter::Simple'}; # default engine type
## $PDL::NiceSlice::engine = $engine_ok{'Filter::Simple'}; # default engine type
## TODO: Add configuration argument to perldl.conf
## $PDL::NiceSlice::engine = $engine_ok{'Filter::Util::Call'}; # default engine type
$PDL::NiceSlice::engine = $engine_ok{'Filter::Util::Call'}; # default engine type

if ( exists $ENV{PDL_NICESLICE_ENGINE} ) {
my $engine = $ENV{PDL_NICESLICE_ENGINE};
Expand Down

0 comments on commit 27764a1

Please sign in to comment.