MessagePack serializer implementation for Python msgpack.org[Python] https://msgpack.org/
Find a file
tokuhirom 978bb5059f Checking in changes prior to tagging of version 0.25.
Changelog diff is:

diff --git a/perl/Changes b/perl/Changes
index d338cf8..3d455cb 100644
--- a/perl/Changes
+++ b/perl/Changes
@@ -1,3 +1,7 @@
+0.25
+
+    (NO FEATURE CHANGES)
+    - oops. I failed releng.

 0.24
     - Fixed a lot of streaming unpacking issues (tokuhirom, gfx)
2010-09-20 09:54:25 +09:00
cpp cpp: version 0.5.4 2010-08-29 18:27:10 +09:00
erlang erlang: fixed bug around error case when serializing atom. 2010-08-27 23:02:16 +09:00
example fix Makefile.am 2009-08-07 11:28:23 +09:00
haskell haskell: update cabal file 2010-09-08 13:36:45 +09:00
java change an annotation-utility in Java. it allows users to pack and unpack a List object. 2010-09-15 22:28:46 +09:00
msgpack template: casts integer types explicitly 2010-08-31 06:27:15 +09:00
perl Checking in changes prior to tagging of version 0.25. 2010-09-20 09:54:25 +09:00
php import MessagePack for PHP 2010-04-05 00:10:28 +09:00
python python: Add python3 category. 2010-09-02 10:13:49 +09:00
ruby More tests; some fails now :( 2010-09-16 21:38:17 +09:00
test ruby: add test/test_cases.rb 2010-06-01 16:35:21 +09:00
.gitignore Add .gitignore 2010-09-17 13:49:55 +09:00
README.md c,cpp: reforms source tree 2010-04-18 00:08:03 +09:00

MessagePack

Extremely efficient object serialization library. It's like JSON, but very fast and small.

What's MessagePack?

MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small.

Typical small integer (like flags or error code) is saved only in 1 byte, and typical short string only needs 1 byte except the length of the string itself. [1,2,3] (3 elements array) is serialized in 4 bytes using MessagePack as follows:

require 'msgpack'
msg = [1,2,3].to_msgpack  #=> "\x93\x01\x02\x03"
MessagePack.unpack(msg)   #=> [1,2,3]

Performance

Serialization + Deserialization Speed Test

In this test, it measured the elapsed time of serializing and deserializing 200,000 target objects. The target object consists of the three integers and 512 bytes string. The source code of this test is available from frsyuki' serializer-speed-test repository.

Getting Started

Usage and other documents about implementations in each language are found at the web site.

Learn More