Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Speed up addition of sparse scores to a stack #828

@florian-huber

Description

@florian-huber

Currently the addition of sparse scores to an already existing Scores object seems to be slow. I suspect that the following code in Scores is not really necessary, because we already know that for every existing position a new score is computed (no need for complex merging check!).

            self._scores.add_sparse_data(self._scores.row,
                                         self._scores.col,
                                         new_scores,
                                         name)

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