Update docs

This commit is contained in:
Jason Paryani
2013-09-04 21:53:05 -07:00
parent a4eec2ef08
commit a57a99f7fc
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ This is a python wrapping of the C++ implementation of the `Cap'n Proto <http://
Capn Proto is an insanely fast data interchange format and capability-based RPC system. Think JSON, except binary. Or think Protocol Buffers, except faster. In fact, in benchmarks, Capn Proto is INFINITY TIMES faster than Protocol Buffers.
The INFINITY TIMES faster part isn't so true for python, but in some simplistic benchmarks (available in the `benchmark directory of the repo <https://github.com/jparyani/pycapnp/tree/master/benchmark>`_), capnp has proven to be decently faster than Protocol Buffers. Also, the python capnp library can load Cap'n Proto schema files directly, without the need for a seperate compile step like with Protocol Buffers or Thrift.
Since the python library is just a thin wrapping of the C++ library, we inherit a lot of what makes Cap'n Proto fast. In some simplistic benchmarks (available in the `benchmark directory of the repo <https://github.com/jparyani/pycapnp/tree/master/benchmark>`_), pycapnp has proven to be decently faster than Protocol Buffers (both pure python and C++ implementations). Also, the python capnp library can load Cap'n Proto schema files directly, without the need for a seperate compile step like with Protocol Buffers or Thrift.
Contents:

View File

@@ -78,7 +78,7 @@ Now that you have a message buffer, you need to allocate an actual object that i
addresses = addressbook_capnp.AddressBook.new_message()
Notice that we used `addressbook` from the previous section: `Load a Cap'n Proto Schema`_.
Notice that we used `addressbook_capnp` from the previous section: `Load a Cap'n Proto Schema`_.
List
~~~~~~~~~~~~~~~~~~~~~~~~~~~