Skip to content

Reduce number of allocations #224

@sethaxen

Description

@sethaxen

Right now there are a lot of unnecessary allocations. Eliminating all such allocations would probably impose too many constraints on the supportable HMC algorithms or require lots of code duplication, but we could still probably gain a lot of performance by at least mutating whenever we know the the vector being overwritten will never be needed for a sample or a sample statistic.

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