You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Trying to optimize span in for loop
* Added Span_GetItem call
* Almost success with optimization
* Fixed code gen
* Added Span optimization tests
* Added ReadOnlySpan opt
* Cleaning up tests
* Moving tests around
* Trying to figure out span tests
* Trying to fix some tests
* Trying to get some more tests passing
* Fixed range
* Trying to get tests to pass again
* Fixing tests for netcore
* Fix build
* When a solution becomes unloaded, we should clear F#'s cache (#6420)
* Changing if directives
* Simplifying
* Using a type shape for span optimization
* Fixing one test
* Drastically simplified looking at the type shape for Span
* Simplified a bit more
* RunScript has expected error messages
* Add back net472
* Feedback
* Update SpanOptimizationTests.fs
* Update SpanOptimizationTests.fs
let tryGetOptimizeSpanMethodsAux g m ty isReadOnlySpan =
7139
+
match (if isReadOnlySpan then tryDestReadOnlySpanTy g m ty else tryDestSpanTy g m ty) with
7140
+
| ValueSome(struct(_, destTy)) ->
7141
+
match TryFindFSharpSignatureInstanceGetterProperty cenv env m "Item" ty [ g.int32_ty; (if isReadOnlySpan then mkInByrefTy g destTy else mkByrefTy g destTy) ],
7142
+
TryFindFSharpSignatureInstanceGetterProperty cenv env m "Length" ty [ g.int32_ty ] with
0 commit comments