Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 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:

Description

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 9 years ago.
patch

Download all attachments as: .zip

Change History (4)

by shinigami, 9 years ago

Attachment: dateutils.patch added

patch

comment:1 by Don-vip, 9 years ago

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

comment:2 by Don-vip, 9 years ago

Resolution: fixed
Status: newclosed

In 8564/josm:

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

comment:3 by Don-vip, 9 years ago

Milestone: 15.0715.08

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.