Repository navigation
Remove dependency on System.Memory/System.Buffers. - #4991
Conversation
Added Array.SequenceEqual Added LocalPool
stevenaw
left a comment
There was a problem hiding this comment.
LGTM too thanks @manfred-brands !
Incidentally, I also just hit the problem this seeks to fix an hour ago at work so this is a very timely fix for me in that regard.
We needed to remove the nullable attributes because of the InternalsVisibleTo Resulting in two definitions competing. Removed stackalloc as it isn't used and there is no Read(Span) method in .NET Framework
a4b358d to
e34a50b
Compare
|
I looked a but more in the I therefore updated the code to comment out the call to SequenceEqual for .NET Framework. I don't know actual usages, but I don't expect StreamsComparer to be used so much. |
This to prevent a version mismatch.
|
@nunit/framework-team I am at a loss why Both I needed to up the version to 8.0.0 for BenchmarkDotnet. |
|
I added a commit to revert the multi-target running of the benchmarks including changing back to version 6.0.0 of System.Collections.Immutable in order to get a green build. |
|
I'm not worried about a performance degradation for .net framework. So just let that be imho. The Immutable 6.0 issue: It only affects the benchmark project, right? If so, if w only run that on net8, I would be fine with that. |
No, it is nunit.framework.tests that fails when it determines immutable test cases. |
|
I've hit the immutable issue in the tests in the past as well. At the time I had opted to go back to V6 after a bit of debugging without getting anywhere. I'm unsure the root cause myself. Agreed too about netfx performance. Generally speaking, users on that runtime should already be aware that they aren't getting all the performance they could be |
Until we have resolved the nunitlite-runner issues with System.Collections.Immutable 8.0
e7e8141 to
286764c
Compare
Fixes #4990