forked from qt-creator/qt-creator
Debugger: Speed up display of large static arrays with simple data
This addresses QTCREATORBUG-15426 for the case of well-known simple types (int, float, ...). Retrieving 1 mio ints takes now ~15s instead of ~140s. Task-number: QTCREATORBUG-15426 Change-Id: Ifb7c957d60504e23147d499d8bb9bbd41c5a53ba Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -1027,9 +1027,7 @@ class DumperBase:
|
||||
self.putNumChild(n)
|
||||
|
||||
if self.isExpanded():
|
||||
with Children(self):
|
||||
for i in range(n):
|
||||
self.putSubItem(i, value[i])
|
||||
self.putArrayData(p, n, innerType)
|
||||
|
||||
self.putPlotDataHelper(p, n, innerType)
|
||||
|
||||
|
Reference in New Issue
Block a user