Hi,
if you inspect the following in Pharo 4, it will take a long time to
execute:
'http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl
retrieveContents.
but if you execute this before, the inspecting above expression is much
faster:
GTInspector setGTInspectorEnabledStatus: false.
Hi,
It takes such a long time because for String objects the default
presentation shows the content of the String. In this case the string has
10 million characters which Rubric takes some time to display.
Given you use case it could make sense to limit by default the size of
content that is
---BeginMessage---
I’ve tried this:
[ 'http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl
retrieveContents ] timeToRun 0:00:00:02.587
[
GTInspector setGTInspectorEnabledStatus: false
('http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl
retrieveContents) inspect ]
Subject: Re: [Pharo-dev] GTInspector is slow for large strings
I’ve tried this:
[ 'http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl
retrieveContents ] timeToRun 0:00:00:02.587
[
GTInspector setGTInspectorEnabledStatus: false
('http://picasaweb.google.com/data/feed/api/all?q=puppy