Opened 4 years ago

Closed 4 years ago

#2042 closed defect (done)

ToString of ValueTypeMatrix and -Array slows down pasting of values in the GUI

Reported by: mkommend Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.8
Component: Data Version: 3.3.8
Keywords: Cc:

Description

Currently the ToString method of ValueTypeMatrix and -Array displays all elements. Thus if several thousand values are pasted in the according StringConvertibleView, the ToStringChanged is fired for every element, which as a result blocks the GUI.

A solution to this issue is to preview only the first N elements.

Change History (7)

comment:1 Changed 4 years ago by mkommend

  • Status changed from new to accepted

r9432: Changed ToString of ValueTypeMatrix and -Array to display only the first N elements until a string length of 100 is reached.

comment:2 Changed 4 years ago by mkommend

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

comment:3 Changed 4 years ago by mkommend

  • Owner changed from ascheibe to mkommend
  • Status changed from reviewing to assigned

StringConvertibleMatrix and -Array must be updated separately as they do not subclass ValueTypeMatrix / -Array.

comment:4 Changed 4 years ago by mkommend

  • Status changed from assigned to accepted

comment:5 Changed 4 years ago by mkommend

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

r9433: Updated ToString of StringConvertibleMatrix /-Array.

comment:6 Changed 4 years ago by ascheibe

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

I have reviewed r9432 and r9433, looks good!

comment:7 Changed 4 years ago by swagner

  • Resolution set to done
  • Status changed from readytorelease to closed
  • Version changed from 3.3.7 to 3.3.8
Note: See TracTickets for help on using tickets.