The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DiaColloDB::XS::CofUtils - XS/C++ utilities for Cofreqs relation compilation

SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 
 use DiaColloDB::XS::CofUtils;
 
 $cof_or_undef = $cof->generatePairsXS( $tokfile, $outfile );
 
 $bool = canCompileXS32($cof);
 $bool = canCompileXS64($cof);
 $cof = $cof->loadTextFhXS($fh,%opts);
 

DESCRIPTION

The DiaColloDB::XS::CofUtils package provides optimized XS subroutines for selected work-instensive compile-time methods of the DiaColloDB::Relation::Cofreqs module.

The XS subroutines provided by this package should be used by default If available on your system. Otherwise, compatibile pure-perl fallback methods will be used instead.

Methods

The following methods are imported into DiaColloDB::Relation::Cofreqs if available:

generatePairsXS
 $cof_or_undef = $cof->generatePairsXS( $tokfile, $outfile );

XS implementation of DiaColloDB::Relation::Cofreqs::generatePairs().

canCompileXS32
 $bool = canCompileXS32($cof);

Convenience utility testing for compatibility with 32-bit XS implementation.

canCompileXS64
 $bool = canCompileXS64($cof);

Convenience utility testing for compatibility with 64-bit XS implementation.

loadTextFhXS
 $cof = $cof->loadTextFhXS($fh,%opts);

XS implementation of DiaColloDB::Relation::Cofreqs::loadTextFh().

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2020 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

DiaColloDB::XS(3pm), DiaColloDB::Relation::Cofreqs(3pm), DiaColloDB(3pm), perl(1), ...