Skip to content

Commit ec8eed4

Browse files
committed
for 1.0
1 parent e16fd73 commit ec8eed4

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.md

+7-9
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ Zero encoding extreme performance binary serializer for C#.
55

66
![image](https://user-images.githubusercontent.com/46207/192470270-bdefb1b7-90a7-45ab-b570-4fc79a98f331.png)
77

8-
Memorypack
8+
For standard object, MemoryPack is x3 faster than MessagePack for C#. For struct array, MemoryPack gots boosted power, x50~100 faster than other serializers.
99

10+
MemoryPack is my 4th serializer, previously I've created well known serializers, ~~[ZeroFormatter](https://github.com/neuecc/ZeroFormatter)~~, ~~[Utf8Json](https://github.com/neuecc/Utf8Json)~~, [MessagePack for C#](https://github.com/neuecc/MessagePack-CSharp). The reason for MemoryPack's speed is due to its C#-specific, C#-optimized binary format and a well tuned implementation based on my past experience. It is also a completely new design utilizing .NET 7 and C# 11 and the Incremental Source Generator.
1011

12+
Other serializers performs many encoding operations such as VarInt encoding, tag, UTF8 Encoding, etc. MemoryPack format uses a zero-encoding design that copies as much of the C# memory as possible. zero-encoding is similar as FlatBuffers but don't need special type, MemoryPack's serialize target is POCO.
1113

14+
Other than performance, MemoryPack has these features.
1215

13-
* Cache data for Redis
14-
* Save large data to file/network
15-
* Blazor that only communicate with C# Client/Server
16-
17-
18-
*
19-
20-
// TODO: Intro message.
16+
* Support modern I/O APIs(`IBufferWriter<byte>`, `ReadOnlySpan<byte>`, `ReadOnlySequence<byte>`
17+
* No Dynamic CodeGen(IL.Emit) so Natigve AOT friendly
18+
* Reflectionless non-generics APIs
2119

2220
Installation
2321
---

0 commit comments

Comments
 (0)