Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

CountMinSketch overflow check causes a lot of allocations #141

@alexandrnikitin

Description

@alexandrnikitin

It starts from String.valueOf(item) here

checkSizeAfterAdd(String.valueOf(item), count);
String concatenation here
checkSizeAfterOperation(previousSize, "add(" + item + "," + count + ")", size);
and here
checkSizeAfterOperation(previousSize, "merge(" + estimator + ")", size);

Could be related to #140

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions