Skip to content

Consider if you should copy the values before returning the sample #3

@kummahiih

Description

@kummahiih

on function
E Sample(int intPart, double fracPart) {
it might be vice to return copies of the values instead of the original values.
(Smth like
... return E(values_[intPart]); else return E(aliasedValues_[intPart]); ...

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