quinchs / EdgeDB.Net

C# edgedb client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Packet Reader & duplexer improvements

quinchs opened this issue · comments

The packet reader should read off of a span-like system, currently the duplexer reads data onto the heap, preformance can be gained safely by moving the data onto the stack and reading from that.

Note
This might involve unsafe code so it should be benchmarked and only considered if the performance gains are worth allowing unsafe code