Free cookie consent management tool by TermsFeed Policy Generator

Opened 7 years ago

Closed 6 years ago

#2731 closed enhancement (done)

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:


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 (4)

comment:1 Changed 7 years ago by abeham

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

comment:2 Changed 7 years 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 7 years ago by mkommend

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

Reviewed r14662.

comment:4 Changed 6 years ago by abeham

  • Resolution set to done
  • Status changed from readytorelease to closed

r14967: merged 14662 to stable

Note: See TracTickets for help on using tickets.