Commit d01a5ff2 authored by hjk's avatar hjk

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: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 3baf28e4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment