Closed kamikyo closed 3 years ago
看到您在DotNetty.Buffers里添加了大量的Span,Memory,ArrayPool相关的类进去。我想问一下,如何才能使用SpanNetty才能令您新添加的这些东西生效以提升性能。感觉是需要显示调用相关的buffer才会生效吗?
可以在业务处理中,采用 ArrayPooledBuffer 代替 UnpooledBuffer ByteBufferReader等同于 SequenceReader ,兼容了.netfx、netstandard2.0
多谢大佬指点,大佬要是有精力开一个讲解dotnetty源码系列的文章的话那就是真的造福社区大众了。
看到您在DotNetty.Buffers里添加了大量的Span,Memory,ArrayPool相关的类进去。我想问一下,如何才能使用SpanNetty才能令您新添加的这些东西生效以提升性能。感觉是需要显示调用相关的buffer才会生效吗?