You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,14 @@ Optional | Marks a field as optional (null if not present). | 1 + value size (if
127
127
Data | A generic binary buffer. Equivalent to an Array of Uint8's. Can be fixed size. | (Array)
128
128
String | A UTF-8 encoded string. Equivalent to Data with some post processing. Can be fixed size. | (Array)
129
129
130
+
## Ideas and plans
131
+
132
+
-[x] Generate code for super fast encoding and decoding
133
+
-[ ] Provide utilities for format versioning
134
+
-[ ] An efficient Boolean type that allows storing of 8 values in a single byte
135
+
-[ ] Better transcoding error reporting
136
+
-[ ] Make decoding at least as fast as protobuf
137
+
130
138
## Benchmarks
131
139
132
140
The following benchmark compares Protobuf to this implementation for some basic data structure and a long string of length at least N. `binary-encoder-buf` uses a preallocated buffer for all operations. `binary-encoder-compiled` uses an API that generates a structural function (rather than recursive) that is much more efficient. This API has replaced the old transcoding functions in version 0.4
0 commit comments