THRIFT-4879 general performance improvements for netstd library
Client: netstd
Patch: Jens Geyer
Removing obsolete (and finally incorrect) assertion.
diff --git a/lib/netstd/Thrift/Transport/TTransport.cs b/lib/netstd/Thrift/Transport/TTransport.cs
index fd802ec..7998012 100644
--- a/lib/netstd/Thrift/Transport/TTransport.cs
+++ b/lib/netstd/Thrift/Transport/TTransport.cs
@@ -134,7 +134,6 @@
_hasPeekByte = false;
if (1 == length)
{
- Debug.Assert(totalBytes == 1); // what else?
return 1; // we're done
}
++totalBytes;