-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is StreamView::freeSectors needed? #203
Conversation
The
to
for another test |
@Numpsy 3.0.0 is pretty close now, we could probably just close this one unless it's a problem for you to switch to the new API? |
Was just an observation, I haven;t had the time to test the v3 test yet |
Personally I'd find it useful to have a new official v2 build to get #128 for maintenance purposes and take v3 after I do a major version bump and drop .NET 6.0 support. |
Thanks |
I tried running the code through the whole solution code analysis in Rider and it determined that 'freeSectors' isn't mutated after creation, so I wonder if it's needed? (StreamView is an internal class, so if there are internal users then there shouldn't be any users at all).
As an extra test, I tried running a benchmark against the current code and with freeSectors removed and got
before:
after
which seems a pretty substantial change in memory allocations.