mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
d7b75355bc
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
11 lines
623 B
Text
11 lines
623 B
Text
Cap'n 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, Cap'n Proto
|
|
is INFINITY TIMES faster than Protocol Buffers.
|
|
|
|
This benchmark is, of course, unfair. It is only measuring the time
|
|
to encode and decode a message in memory. Cap'n Proto gets a perfect
|
|
score because there is no encoding/decoding step. The Cap'n Proto
|
|
encoding is appropriate both as a data interchange format and an
|
|
in-memory representation, so once your structure is built, you can
|
|
simply write the bytes straight out to disk!
|