[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Performance of URL in ImageDescriptor

Note that this has been fixed in Eclipse with Bug 507103: Reduce memory footprint of URLImageDescriptor .

Dani



From:        Mickael Istria <mistria@xxxxxxxxxx>
To:        "Eclipse Platform UI component developers list." <platform-ui-dev@xxxxxxxxxxx>
Date:        06.06.2018 07:38
Subject:        Re: [platform-ui-dev] Performance of URL in ImageDescriptor
Sent by:        platform-ui-dev-bounces@xxxxxxxxxxx




This is not specific to Eclipse platform. It's a general Java anti-pattern to use URL class for adresses if you aren't sure you'll use it for a connection.
"Linters" like SpotBugs or SonarLint help by reminding this rule whenever there is a questionable usage of URL.

On Wednesday, June 6, 2018, Ned Twigg <
ned.twigg@xxxxxxxxxxxx> wrote:
Hello platform-ui!  Apologies if this is an abuse of the mailing list, the archive search is down, and I wasn't able to find information on this anywhere else.

I have a distinct memory of an EclipseCon talk about avoiding either URL or URI, because it triggered network requests and was slow.  I can't find it, or any reference to it.  Does anyone else remember this, or have any hints for how to find it?

Thanks!

Ned Twigg
Lead Software Architect, DiffPlug LLC
540-336-8043 (cell)
888-513-6870 (fax)
340 S Lemon Ave #343
3, Walnut, CA 91789
á


--

Mickael Istria
Eclipse IDE developer, for Red Hat Developers
_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev