Skip to content

Don't use array to precompute interval segmentation #4

@vp1981

Description

@vp1981

Don't use array (std::vector<double>) to precompute points of interval segmentation. It is ill designed which could be clearly seen if one uses too small step, like 1e-9. This step will cause to allocate array for 1e9 elements that is used only in one place, for for loop. It is much easier and resource lighter to use more conventional while loop.

Metadata

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