Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11650 closed enhancement (fixed)

[PATCH] Parsing optimization

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

Description

When parsing osm file, AbstractPrimitive's setTimestamp(getTimestamp()) is used for copying timestamps, what allocates lots of Date objects. I have added new methods - getRawTimestamp and setRawTimestamp working directly with ints. It can be used in other pieces of code too.

Attachments (1)

dates.patch (1.5 KB ) - added by shinigami 9 years ago.
patch

Download all attachments as: .zip

Change History (5)

by shinigami, 9 years ago

Attachment: dates.patch added

patch

comment:1 by shinigami, 9 years ago

Type: defectenhancement

comment:2 by Don-vip, 9 years ago

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

comment:3 by Don-vip, 9 years ago

Resolution: fixed
Status: newclosed

In 8565/josm:

fix #11650 - performance: avoid creation of Date objects when it is not needed (patch by shinigami, modified slightly)

comment:4 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.