Skip to content

v2.0.0-beta208

Choose a tag to compare

@pachanga pachanga released this 10 Mar 16:18
· 922 commits to master since this release

New features

  • Adding FiberRef.IsRunning with convenient bindings
  • Experimenting with usage of yield in while loops. The following code can be used to prevent possible infinite loops without yielding control:
do {
...
} while(yield std.NextTrue())

Optimizations

  • Resolving all module's type refs during module loading so that there's no runtime resolving during VM execution
  • Storing all constants as an array in compiled module not as a List for less access overhead
  • Getting rid of unnecessary type casting when visiting blocks
  • Using less abstractions: getting rid of IDeferSupport and IBranchyCoroutine
  • Converting ClassSymbol._all_members to an array instead of SymbolStorage

Bug fixes

  • Fixing potential bug in TaskManager.RemoveAt(..)