fserial-0.0.1


توضیحات

simple and faster {,un}serializer for most python builtin data objects
ویژگی مقدار
سیستم عامل -
نام فایل fserial-0.0.1
نام fserial
نسخه کتابخانه 0.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده felix021
ایمیل نویسنده felix021@gmail.com
آدرس صفحه اصلی http://github.com/felix021/fserial
آدرس اینترنتی https://pypi.org/project/fserial/
مجوز Public Domain
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


نحوه نصب


نصب پکیج whl fserial-0.0.1:

    pip install fserial-0.0.1.whl


نصب پکیج tar.gz fserial-0.0.1:

    pip install fserial-0.0.1.tar.gz