dislib icon indicating copy to clipboard operation
dislib copied to clipboard

Avoid unnecesary task creation for slicing arrays

Open salvisolamartinell opened this issue 5 years ago • 0 comments

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.

salvisolamartinell avatar Dec 10 '20 15:12 salvisolamartinell