perl-Text-VCardFast-0.11-alt3.1.i586.rpm


Advertisement

Description

perl-Text-VCardFast - Perl extension for very fast parsing of VCards

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Text-VCardFast-0.11-alt3.1.i586.rpm
Package name perl-Text-VCardFast
Package version 0.11
Package release alt3.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 48.29 KB
Installed size 48.29 KB
Text::VCardFast is designed to parse VCards very quickly compared to
pure-perl solutions.  It has a perl and an XS version of the same API,
accessible as vcard2hash_pp and vcard2hash_c, with the XS version being
preferred.
Why would you care?  We were writing the calendaring code for fastmail.fm,
and it was taking over 6 seconds to draw respond to a request for calendar
data, and the bulk was going to the perl middleware layer - and THAT
profiled down to the vcard parser.
Two of us independently wrote better pure perl implementations, leading to
about a 5 times speedup in each case.  I figured it was worth checking if
XS would be much better.  Here's the benchmark on the v4 example from
Wikipedia:
Benchmark: timing 10000 iterations of fastxs, pureperl, vcardasdata...
fastxs:  0 wallclock secs ( 0.16 usr +  0.01 sys =  0.17 CPU) @ 58823.53/s (n=10000)
(warning: too few iterations for a reliable count)
pureperl:  1 wallclock secs ( 1.04 usr +  0.00 sys =  1.04 CPU) @ 9615.38/s (n=10000)
vcardasdata:  8 wallclock secs ( 7.35 usr +  0.00 sys =  7.35 CPU) @ 1360.54/s (n=10000)
(see bench.pl in the source tarball for the code)

Alternatives

Package Version Architecture Repository
perl-Text-VCardFast-0.11-alt3.1.x86_64.rpm 0.11 x86_64 Autoimports
perl-Text-VCardFast - - -

Requires

Name Value
/usr/lib/perl5 -
libc.so.6(GLIBC_2.0) -
libc.so.6(GLIBC_2.1.3) -
libc.so.6(GLIBC_2.4) -
libperl-5.28.so -
libpthread.so.0(GLIBC_2.0) -
perl(Encode.pm) -
perl(MIME/Base64.pm) -
perl(XSLoader.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -

Provides

Name Value
perl(Text/VCardFast.pm) = 0.110
perl-Text-VCardFast = 0.11-alt3.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Text-VCardFast-0.11-alt3.1.i586.rpm
Source Package perl-Text-VCardFast-0.11-alt3.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus i586 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Text-VCardFast rpm package:
    # sudo apt-get install perl-Text-VCardFast

Files

Path
/usr/lib/perl5/Text/VCardFast.pm
/usr/lib/perl5/auto/Text/
/usr/lib/perl5/auto/Text/VCardFast/VCardFast.so
/usr/share/doc/perl-Text-VCardFast-0.11/Changes
/usr/share/doc/perl-Text-VCardFast-0.11/README

See Also

Package Description
perl-Text-VisualWidth-0.02-alt4.1.i586.rpm perl module Text-VisualWidth
perl-Text-Wrap-Smart-XS-0.06-alt4.1.i586.rpm Wrap text fast into chunks of similar length
perl-Thread-Channel-0.003-alt4.1.i586.rpm Fast thread queues
perl-Thread-Cleanup-0.07-alt4.1.i586.rpm Hook thread destruction
perl-Thread-IID-0.04-alt4.1.i586.rpm unique Interpreter IDs
perl-Thread-State-0.09-alt4.1.i586.rpm check threads state, context, priority
perl-Thrift-XS-1.04-alt4.1.i586.rpm Faster Thrift binary protocol encoding and decoding
perl-Tickit-0.66-alt1.i586.rpm Terminal Interface Construction KIT
perl-Tie-Array-Packed-0.13-alt4.1.i586.rpm store arrays in memory efficiently as packed strings
perl-Tie-Array-Pointer-0.000059-alt4.1.i586.rpm ties a perl array to a C pointer
perl-Tie-Hash-Indexed-0.05-alt4.1.i586.rpm Ordered hashes for Perl
perl-Tie-Hash-LRU-0.05-alt4.1.i586.rpm LRU hashes for Perl (XS implementation)
perl-Tie-LevelDB-0.07-alt4.1.i586.rpm A Perl Interface to the Google LevelDB NoSQL database
perl-Time-HR-0.02-alt4.1.i586.rpm perl module Time-HR
perl-Time-Local-TZ-0.04-alt2.1.i586.rpm time converter functions with localtime-based interface
Advertisement
Advertisement