Skip to content

Reduce Code Duplication #104

@ryanmrichard

Description

@ryanmrichard

There's quite a bit of overlap in the two existing Allocator implementations. I'd like to try to reduce the copy/pasting as we'll likely be adding more Allocators down the line.

Original text:

Both non-direct and direct have to do the same wrapping around the input function, but this version handles the construction of the distarray properly for the direct case.

Originally posted by @jwaldrop107 in #102 (comment)

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