Skip to content

Repository files navigation

Unity Native Long List

Fast and simplified NativeList implementation which allows you to store more than 1 GB of data (limitation of native collections)

Based on NativeCustomArray by Jackson Dunstan, http://JacksonDunstan.com/articles/4734

Performance testing code is included

Supported methods

  • Add
  • AddRange
  • Read/Write by index
  • RemoveAt
  • TrimExcess

Performance

According to my tests it's just a tiny bit slower than NativeList

MethodNativeListNativeLongList
Add & Read 1000000 elements8,03 ms7,49 ms
Add 268435455 elements (Burst)1 191,82 ms1 487,47 ms
AddRange 250000 elements 10 times8,21 ms7,31 ms

About

Fast and simplified NativeList<T> implementation which allows you to store more than 1 GB of data

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages