Opened 3 months ago

Last modified 8 weeks ago

#2731 readytorelease enhancement

Improve performance of certain manipulations on Permutation

Reported by: abeham Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.15
Component: Encodings.PermutationEncoding Version: 3.3.14
Keywords: Cc:

Description

Using the indexer to set values of a permutation may be relatively slow due to the equality check and ItemChanged event that is fired in ValueTypeArray<T>.

Thus, some common manipulation operations should have specific methods that perform the change on the backing array as one batch firing only one changed event.

Change History (3)

comment:1 Changed 3 months ago by abeham

  • Owner set to abeham
  • Status changed from new to accepted

comment:2 Changed 3 months ago by abeham

  • Owner changed from abeham to mkommend
  • Status changed from accepted to reviewing

r14662: Added better performing manipulation methods to Permutation and adapted the manipulators to use them

  • Added unit tests

comment:3 Changed 8 weeks ago by mkommend

  • Owner changed from mkommend to abeham
  • Status changed from reviewing to readytorelease

Reviewed r14662.

Note: See TracTickets for help on using tickets.