Opened 7 years ago

Closed 7 years ago

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


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

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by shinigami

Attachment: dates.patch added


comment:1 Changed 7 years ago by shinigami

Type: defectenhancement

comment:2 Changed 7 years ago by Don-vip

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

comment:3 Changed 7 years ago by Don-vip

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 Changed 7 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.