Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#11649 closed enhancement (fixed)

[PATCH] DateUtils optimization

Reported by: shinigami Owned by: team
Priority: normal Milestone: 15.08
Component: Core Version: latest
Keywords: performance Cc:


Method parsePart is used for pre-checked inputs and always parses small string and creates substring at every call. I have changed it to extra cases for diferent sizes (2,3,4).

At my pc, when opening BIG osm file, it saves few percents of allocated garbage.

Attachments (1)

dateutils.patch (3.2 KB) - added by shinigami 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by shinigami

Attachment: dateutils.patch added


comment:1 Changed 8 years ago by Don-vip

Keywords: performance added
Milestone: 15.07
Summary: DateUtils optimization[PATCH] DateUtils optimization

comment:2 Changed 8 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 8564/josm:

fix #11649 - DateUtils optimization (modified patch by shinigami)

comment:3 Changed 8 years ago by Don-vip

Milestone: 15.0715.08

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.