CareBoo / Blinq

Burst Compatible Linq Implementations
MIT License
23 stars 0 forks source link

Some IEnumerator implementations aren't Burst Compatible #84

Closed jasonboukheir closed 3 years ago

jasonboukheir commented 3 years ago

Some IEnumerator implementations for ISequence rely on a NativeContainer field that isn't instantiated until the first time MoveNext() is called. This causes an exception when trying to run the job with Burst.

ISequence should instead inherit from IEnumerable, and should construct the corresponding IEnumerator.

This will cause an API change, because ValueSequence<T, TSource> now needs a third generic argument, TEnumerator.

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 3.0.0-preview.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 3.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: