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

Remove doubling of memory in the Clear method #96

Merged
merged 1 commit into from
Dec 4, 2020

Commits on Dec 3, 2020

  1. Remove doubling of memory in the Clear method

    Previous implementation of the Clear method has allocated new ringbuffers.
    Memory footprint of the process has been doubled so as the old memory blocks
    stayed in the memory until the garbage collector cleaned them.
    
    This change In this commit the the beahvior has been changed: just internal
    pointers in the ringbuffers are reset now and the old memory blocks are reused.
    Ondrej Starek committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    0c7962c View commit details
    Browse the repository at this point in the history