Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

NativeArrayOptions.UninitializedMemory

Description

Uninitialized memory can improve performance, but results in the contents of the array elements being undefined. In performance sensitive code it can make sense to use NativeArrayOptions.Uninitialized, if you are writing to the entire array right after creating it without reading any of the elements first.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答