On Fri, 23 Sep 2011, Michael Klein wrote:

> Attached is also a simple implementation of the Douglas-Peucker algorithm in 
> Lua. Filtering a track with 3000 points takes only a few seconds on my dated 
> G4 Powerbook, and it seems most of the time is actually spent in 
> track.rebuild() *after* the Lua work. So performance is IMHO no showstopper.

the reason for track.rebuild() being rather slow is actually a Qt/Mac 
deficiency, where QDateTime::toString(Qt::TextDate) if rather expensive.

I filed a bug: https://bugreports.qt.nokia.com/browse/QTBUG-21678

-- 
Michael

fjelljo.puffin.lb.shuttle.de:~ > uptime
23:27  up 3 days,  4:17, 4 users, load averages: 0.79 1.25 0.89

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to