Skip to content

About PartitionedBloomFilter.GobEncode With bytes.Buffer #20

Open
@catlittlechen

Description

PartitionedBloomFilter.GobEncode collects the data from its partitions, but bytes.Buffer will grow the double capacity if nessage.
So the memory of program will grow fast.
Actually you can collect the length of data first, grow the buffer and reduce the unnessage memory.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions