[BLUEJ-277] Inspecting a large array is slow
If you make a big array (say 100,000 ints) and then inspect it, it is very slow to display, taking several seconds. Given that it is only displaying the first 40 and last 5 elements, it should take no longer than, say, a 50-element array to display. Looking at the code, it is creating the full list of fields -- which also takes quite a bit of memory -- then only using (as far as I can see) the first 40 and last 5.
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 3.0.2