[ https://issues.apache.org/jira/browse/IGNITE-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Tupitsyn updated IGNITE-1785: ----------------------------------- Fix Version/s: (was: 1.6) > .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: interop > Affects Versions: 1.5 > Reporter: Pavel Tupitsyn > > * 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)