OK, here is another patch, this time using DateUtils from josm-ng.
On Tue, Mar 10, 2009 at 9:08 AM, Dirk Stöcker <[email protected]> wrote: > On Tue, 10 Mar 2009, Jiri Klement wrote: > >> I did some benchmarks and here are the results: >> no date handling at all - 17 seconds >> josm-ng date conversion - 19.5 seconds >> josm-ng date conversion done with char[] instead of string - 18.8 seconds. >> >> josm-ng version is 13% slower but that makes only 2.5 seconds on 80MB >> file. Also it allows more memory efficient storage of timestamp. I >> personally would get rid of lazy parsing parsing and use Petr's >> version. What do you think? > > If it slows down the import and has advantages during runtime I vote for > the optimized version. I can live with a little bit longer import if the > overall performance is increased. > > Ciao > -- > http://www.dstoecker.eu/ (PGP key available) > > _______________________________________________ > josm-dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/josm-dev >
timestamp.patch
Description: Binary data
_______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
