Skip to content

Avoid unnecesary task creation for slicing arrays #325

@salvisolamartinell

Description

@salvisolamartinell

Describe the bug
Slicing a ds-array creates unnecessary tasks when the slice matches with the blocks.

To Reproduce
No details available.

Expected behavior
Ds-array slicing shouldn't create unnecessary tasks.

Environment (please complete the following information):

  • COMPSs version: 2.8
  • Dislib version: 0.6.4

Additional context
This has been reported in a program using utils.shuffle(x,y) + _paired_partition(x,y). _paired_partition creates unnecessary tasks.

Related: avoid sending the inner blocks to a task when slicing an array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpython relatedIssues that can be solved just with Python knowledge

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions