Skip to content
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

Azos.IO.Archiving.Page Review page buffer allocation #863

Open
itadapter opened this issue May 5, 2023 · 0 comments
Open

Azos.IO.Archiving.Page Review page buffer allocation #863

itadapter opened this issue May 5, 2023 · 0 comments
Assignees

Comments

@itadapter
Copy link
Contributor

Why is the default capacity assigned to zero?

    public Page(int defaultCapacity)
    {
      m_Raw = new MemoryStream(m_DefaultCapacity);//<===== is this not always ZERO in ctor???
      AdjustDefaultCapacity(defaultCapacity);
    }
@itadapter itadapter changed the title Azos.IO.Archiving.Page Azos.IO.Archiving.Page Review page buffer allocation May 5, 2023
@itadapter itadapter self-assigned this May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant