Skip to content

Add AbstractUnivariateFinite for performance customisation #70

@rafaqz

Description

@rafaqz

UnivariateFinite can be overkill for e.g. simple Bool categories.

It looks like they could be at least 50x faster to construct using a custom struct without the LittleDict.

Adding a AbstractUnivariateFinite would allow defining objects that specialised on type.

Currently, the profile using Shapley.jl with Bool categories looks like this:
billede

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    priority low / straightforward

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions