[ https://issues.apache.org/jira/browse/IGNITE-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-1785: ------------------------------------ Labels: .net performance (was: .net) > .Net: Improve PlatformMemory/PortableStream performance and memory usage > ------------------------------------------------------------------------ > > Key: IGNITE-1785 > URL: https://issues.apache.org/jira/browse/IGNITE-1785 > Project: Ignite > Issue Type: Improvement > Components: platforms > Affects Versions: 1.5.0.final > Reporter: Pavel Tupitsyn > Labels: .net, performance > > * PlatformMemory is just a single "long _memPtr" and can be easily converted > to a struct to reduce allocations (it is allocated a lot) > * PlatformMemoryStream works with PlatformMemory.Length and Capacity > indirectly. By employing a struct approach from > https://issues.apache.org/jira/browse/IGNITE-1428 we can work with Length and > Capacity directly, which may be faster, and will eliminate the need for > SyncronizeInput/Output calls. > * PlatformMemoryStream is allocated even more often than PlatformMemory, need > to investigate whether it can also be a struct. See how List<>.GetEnumerator > works, which is a struct. -- This message was sent by Atlassian JIRA (v6.3.4#6332)