Yes, as I said in this comment [1]; my real issue here is lengthy GC pauses, which cause peaks in response times.<p>Regarding overall performances, I&#x27;m not really convinced that the reflect calls affect them that much (there&#x27;s 2 reflect calls per Read() or Write() call), but I honestly just don&#x27;t know, I&#x27;d have to bench to be sure.
Although, if it turns out to actually be an issue, you can still use Pointer() to keep references to your unmanaged heap and you&#x27;ll be able to work with your data without GC nor reflection overhead.<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10650885" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10650885</a>