-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Core
-
None
Our logic to read data off the wire does a whole bunch of Buffer.alloc(0), simply to indicate a "reset" of internal buffer state. This is wasteful, requiring many needless allocations when we could simply assign the value to null/undefined.