Skip to content

Commit 8a23157

Browse files
committed
link to my go version
1 parent bfbc804 commit 8a23157

File tree

1 file changed

+29
-24
lines changed

1 file changed

+29
-24
lines changed

README.md

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
1-
Concise Binary Object Representation (CBOR) is a superset of JSON's schema that's faster and more compact.
2-
3-
* http://tools.ietf.org/html/rfc7049
4-
* http://cbor.io/
5-
6-
This Python implementation provides loads()/dumps() like the json standard library.
7-
8-
Compare to Python 2.7.5's standard library implementation of json:
9-
10-
```
11-
#!
12-
13-
serialized 50000 objects into 1163097 cbor bytes in 0.05 seconds (1036613.48/s) and 1767001 json bytes in 0.22 seconds (224772.48/s)
14-
compress to 999179 bytes cbor.gz and 1124500 bytes json.gz
15-
load 50000 objects from cbor in 0.07 secs (763708.80/sec) and json in 0.32 (155348.97/sec)
16-
```
17-
18-
There is also a pure-python implementation which gets about 1/3 the speed of json's C augmented speed.
19-
20-
Tested in Python 2.7.5, 2,7.6, 3.3.3, 3.4.0, and 3.5.2
21-
22-
Available on pypi:
23-
24-
pip install cbor
1+
Concise Binary Object Representation (CBOR) is a superset of JSON's schema that's faster and more compact.
2+
3+
* http://tools.ietf.org/html/rfc7049
4+
* http://cbor.io/
5+
6+
This Python implementation provides loads()/dumps() like the json standard library.
7+
8+
Compare to Python 2.7.5's standard library implementation of json:
9+
10+
```
11+
#!
12+
13+
serialized 50000 objects into 1163097 cbor bytes in 0.05 seconds (1036613.48/s) and 1767001 json bytes in 0.22 seconds (224772.48/s)
14+
compress to 999179 bytes cbor.gz and 1124500 bytes json.gz
15+
load 50000 objects from cbor in 0.07 secs (763708.80/sec) and json in 0.32 (155348.97/sec)
16+
```
17+
18+
There is also a pure-python implementation which gets about 1/3 the speed of json's C augmented speed.
19+
20+
Tested in Python 2.7.5, 2,7.6, 3.3.3, 3.4.0, and 3.5.2
21+
22+
Available on pypi:
23+
24+
pip install cbor
25+
26+
---
27+
28+
For Go implementation, see:
29+
https://github.com/brianolson/cbor_go

0 commit comments

Comments
 (0)