Skip to content

Improve memory usage for anonymous variables #10

Open
@stariy95

Description

@stariy95

While #4 fixes leaks linked to a named variable redefinition, there's still more options for improvement.
The first candidate is anonymous variables:

DataFrame
        .foldByColumn("1", "2")
        .ofStream(IntStream.range(0, Integer.MAX_VALUE / 8));

Expression above creates different snippets each time and they are not linked, like in case of a named variables, so no class unloading can happen.

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