This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use v5.40; use warnings; | |
use Syntax::Keyword::Match; | |
use OpenGL ':all'; | |
use PDL; | |
use PDL::Constants qw'PI E I'; | |
use PDL::Transform; | |
use Time::HiRes qw'gettimeofday tv_interval'; | |
use IPC::Open2 'open2'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use 5.012; | |
use Benchmark qw( cmpthese timethese ); | |
use Test::Deep::NoTest; | |
use Scalar::Util qw(looks_like_number); | |
use Params::Validate qw(SCALAR HASHREF ARRAYREF); | |
my @SIG = ( | |
{ type => SCALAR, callbacks => { looks_like_number => sub { looks_like_number($_[0]) } } }, | |
{ type => HASHREF }, |