Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

simple and faster {,un}serializer for most python builtin data objects

Project Description
fserial
=======

simple {,un}serializer for several python builtin objects (None/True/False/int/long/float/str/list/tuple/dict/set)

this extension runs much faster than builtin python serializers like marshal and cPickle.

Notice
=======

This extension uses a fix-length buffer in dumps, which has a default length of 64KB. Call fserial.setbufsize to set a larger lenghth, in case the result may exceed the default value.

Performance test:
=======

you can try test.py yourself.

Time consumed for 5,000,000 rounds of dumps/loads:

fserial.dumps: 1.581582
marshal.dumps: 5.548474
cPickle.dumps: 5.602932
simplejson.loads: #approximate 10x slower than cPickle/marshal

fserial.loads: 3.616863
marshal.loads: 6.749527
cPickle.loads: 15.953505
simplejson.loads: 23.159412
Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fserial-0.0.1.tar.gz (2.8 kB) Copy SHA256 Checksum SHA256 Source Dec 14, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting