[OSM-dev] Osmosis enableDateParsing
Brett Henderson
brett at bretth.com
Thu Jan 8 10:29:50 GMT 2009
Jochen Topf wrote:
> On Thu, Jan 08, 2009 at 12:06:59PM +1100, Brett Henderson wrote:
>
>> However it should be very fast now. I recently implemented a change to
>> keep the date as a string internally (I thought I sent you an email
>> about this, could be wrong). If it is written to xml again the previous
>> date string is used unchanged. If it is written to something like a
>> database then the string will be parsed when it is required. Even if
>> parsing does occur, the custom code used internally is orders of
>> magnitude faster than standard java xml date parsing classes. It is the
>> same code I submitted for JOSM though so has been around for some time now.
>>
>
> So can we get rid of the option?
>
It is still useful if the input file doesn't include timestamps. I
remember somebody using that recently. I'll add a comment to the wiki
to let people know it isn't useful for speed any more.
More information about the dev
mailing list