blib/lib/Acme/CPANModules/XSVersions.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Acme::CPANModules::XSVersions;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
6 1 our $DATE = '2022-03-18'; # DATE
7 1 our $DIST = 'Acme-CPANModules-XSVersions'; # DIST
8 1 our $VERSION = '0.003'; # VERSION
9  
10 1 our $LIST = {
11 summary => 'List of XS versions of Perl modules',
12 description => <<'_',
13  
14 This list catalogs (pure-) Perl modules that have their XS counterparts ("fast
15 versions"), usually in separate distributions so the installation of the XS
16 version is optional. The two versions of the modules provide the same interface.
17 When the two modules are different in interface, they are not listed here.
18  
19 Usually authors use `::XS` or `_XS` suffix for the XS version (for example,
20 <pm:Type::Tiny> is the PP/pure-perl version and <pm:Type::Tiny::XS> is the XS
21 version). Or sometimes the other way around is done, a module is an XS module
22 and another with suffix `::PP` or `_PP` is the PP version. And often a module
23 like `JSON` is one that can automatically use the XS version (`JSON::XS`) when
24 it's available or fallback to the PP version (`JSON::PP`).
25  
26 Additions much welcome.
27  
28 _
29 entries => [
30 # 'module' lists the PP version, 'xs_module' lists the XS version
31  
32 {module => 'Algorithm::Diff', xs_module => 'Algorithm::Diff::XS'},
33 {module=>'Algorithm::LUHN', xs_module=>'Algorithm::LUHN_XS'},
34 {module => 'Algorithm::PageRank', xs_module => 'Algorithm::PageRank::XS'},
35 {module=>'Algorithm::RectanglesContainingDot', xs_module=>'Algorithm::RectanglesContainingDot_XS'},
36 {module => 'Bytes::Random', xs_module => 'Bytes::Random::XS'},
37 {module => 'Class::Accessor::Fast', xs_module => 'Class::Accessor::Fast::XS'},
38 {module => 'Class::C3', xs_module => 'Class::C3::XS'},
39 {module => 'Class::Load', xs_module => 'Class::Load::XS'},
40 {module=>'Convert::Bencode', xs_module=>'Convert::Bencode_XS'},
41 {module => 'Crypt::Passwd', xs_module => 'Crypt::Passwd::XS'},
42 {module=>'Crypt::TEA_PP', xs_module=>'Crypt::TEA_XS'},
43 {module=>'Crypt::XXTEA_PP', xs_module=>'Crypt::XXTEA_XS'},
44 {module => 'DDC::PP', xs_module => 'DDC::XS'},
45 {module => 'Crypt::Skip32', xs_module => 'Crypt::Skip32::XS'},
46 {module => 'Date::Calc', pp_module=>'Date::Calc::PP', xs_module => 'Date::Calc::XS'},
47 {module => 'Directory::Iterator', pp_module=>'Directory::Iterator::PP', xs_module => 'Directory::Iterator::XS'},
48 {module => 'Encode', xs_module => 'Encode::XS'},
49 {module => 'Encoding::FixLatin', xs_module => 'Encoding::FixLatin::XS'},
50 {module => 'File::MMagic', xs_module => 'File::MMagic::XS'},
51 {module => 'Geo::Coordinates::UTM', xs_module => 'Geo::Coordinates::UTM::XS'},
52 {module => 'Geo::Distance', xs_module => 'Geo::Distance::XS'},
53 {module => 'Geo::Hash', xs_module => 'Geo::Hash::XS'},
54 {module => 'HTTP::Headers::Fast', xs_module => 'HTTP::Headers::Fast::XS'},
55 {module => 'HTTP::Parser::XS::PP', xs_module => 'HTTP::Parser::XS'},
56 {module => 'Heap::Simple', xs_module => 'Heap::Simple::XS'},
57 {module => 'Image::Info', xs_module => 'Image::Info::XS'},
58 {module => 'JSON::PP', pp_module=>'JSON', xs_module => 'JSON::XS'},
59 {module =>'Language::Befunge::Vector', xs_module => 'Language::Befunge::Vector::XS'},
60 {module => 'Language::Befunge::Storage::Generic::Vec', xs_module => 'Language::Befunge::Storage::Generic::Vec::XS'},
61 {module => 'List::BinarySearch', xs_module => 'List::BinarySearch::XS'},
62 {module => 'List::Flatten', xs_module => 'List::Flatten::XS'},
63 {module => 'List::MoreUtils', xs_module => 'List::MoreUtils::XS'},
64 {module => 'List::SomeUtils', xs_module => 'List::SomeUtils::XS'},
65 {module => 'List::Util', xs_module => 'List::Util::XS'},
66 {module => 'List::UtilsBy', xs_module => 'List::UtilsBy::XS'},
67 {module=>'Math::Derivative', xs_module=>'Math::Derivative_XS'},
68 {module => 'Math::Gauss', xs_module => 'Math::Gauss::XS'},
69 {module => 'Math::Utils', xs_module => 'Math::Utils::XS'},
70 {module => 'MaxMind::DB::Reader', xs_module => 'MaxMind::DB::Reader::XS'},
71 {module => 'Mojo::Base', xs_module => 'Mojo::Base::XS'},
72 {module => 'Net::IP', xs_module => 'Net::IP::XS'},
73 {module => 'Net::SNMP', xs_module => 'Net::SNMP::XS'},
74 {module => 'Number::Closest', xs_module => 'Number::Closest::XS'},
75 {module => 'Object::Tiny', xs_module => 'Object::Tiny::XS'},
76 {module => 'Object::Tiny::RW', xs_module => 'Object::Tiny::RW::XS'},
77 {module => 'PPI', xs_module => 'PPI::XS'},
78 {module => 'Package::Stash', xs_module => 'Package::Stash::XS'},
79 {module => 'Params::Validate', xs_module => 'Params::Validate::XS'},
80 {module => 'Path::Hilbert', xs_module => 'Path::Hilbert::XS'},
81 {module => 'PerlX::ArraySkip', xs_module => 'PerlX::ArraySkip::XS'},
82 {module => 'PerlX::Maybe', xs_module => 'PerlX::Maybe::XS'},
83 {module => 'Protocol::Redis', xs_module => 'Protocol::Redis::XS'},
84 {module => 'Readonly', xs_module => 'Readonly::XS'},
85 {module => 'Ref::Util', xs_module => 'Ref::Util::XS'},
86 {module => 'Set::IntSpan::Fast', xs_module => 'Set::IntSpan::Fast::XS'},
87 {module => 'Set::Product', xs_module => 'Set::Product::XS'},
88 {module=>'SOAP::WSDL::Deserializer::XSD', xs_module=>'SOAP::WSDL::Deserializer::XSD_XS'},
89 {module => 'Sort::Naturally', xs_module => 'Sort::Naturally::XS'},
90 {module => 'String::Numeric', xs_module => 'String::Numeric::XS'},
91 {module => 'Template::Alloy', xs_module => 'Template::Alloy::XS'},
92 {module => 'Template::Stash', xs_module => 'Template::Stash::XS'},
93 {module => 'Text::CSV', xs_module => 'Text::CSV_XS'},
94 # Text::Levenshtein & Text::Levenshtein::XS are different modules
95 {module => 'Text::Levenshtein::Damerau', xs_module => 'Text::Levenshtein::Damerau::XS'},
96 {module => 'Time::Format', xs_module => 'Time::Format_XS'},
97 {module => 'Type::Tiny', xs_module => 'Type::Tiny::XS'},
98 # Tree::Binary & Tree::Binary::XS are different modules
99 {module => 'Tree::Object', xs_module => 'Tree::ObjectXS'},
100 {module => 'URL::Encode', xs_module => 'URL::Encode::XS'},
101 {module => 'Unix::Uptime::BSD', xs_module => 'Unix::Uptime::BSD::XS'},
102 # Win32::Unicode & Win32::Unicode::XS?
103 {module => 'XML::CompactTree', xs_module => 'XML::CompactTree::XS'},
104 # XML::Hash & XML::Hash::XS are different modules
105 {module => 'YAML::PP', xs_module => 'YAML::XS'},
106 # ZooKeeper & ZooKeeper::XS?
107 {module => 'match::simple', xs_module => 'match::simple::XS'},
108  
109 ],
110 };
111  
112 1 1;
113 # ABSTRACT: List of XS versions of Perl modules
114  
115 __END__
↑ Summary