From: Olaf C. <ola...@un...> - 2017-07-14 14:44:11
|
hello johan, i just applied a workaround that seems to restore the original performance, or comes at least close to it. many thanks for your elaborated analysis - this helped a lot to find a sustainable solution within reasonable time. best wishes, olaf... Am 14.07.2017 um 10:59 schrieb Johan Van de Wauw: > Known problem in wxWidgets on windows: > https://trac.wxwidgets.org/ticket/17874 > > On Wed, Jul 12, 2017 at 9:31 AM, Johan Van de Wauw > <joh...@gm...> wrote: >> On Tue, Jul 11, 2017 at 4:03 PM, Johan Van de Wauw >> <joh...@gm...> wrote: >>> Correcting myself, the error started between version 3 and 4. >>> >>> To be exact,the problem only occurs when there is a field with a date >>> type, and the decrease in performance started with this commit: >> I could not resist looking into this further and profiling showed that >> about 97% of the time is spent in the wxString FormatISODate() and >> wxString Format() functions, mostly in checking the format is valid. > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > saga-gis-developer mailing list > sag...@li... > https://lists.sourceforge.net/lists/listinfo/saga-gis-developer -- Dr. Olaf Conrad Institute of Geography University Hamburg Bundesstr. 55 D-20146 Hamburg Germany Phone: +49-40-42838-7289 Fax: +49-40-42838-4981 WWW: http://www.uni-hamburg.de/geographie |