Menu

#2131 Make time getting faster for files

Branch_+_Trunk
closed-fixed
5
2006-12-11
2006-12-06
Kimmo Varis
No

BUG: #1609951 WinMerge 2.7.1.3 significant slower than 2.6.0
https://sourceforge.net/tracker/index.php?func=detail&aid=1609951&group_id=13216&atid=113216

This patch removes calling two or more filesystem functions every time. Which seems to be slow for networked filesystems etc. Now, instead of using separate stat() call for getting time in time_t format, we convert FILETIME to time_t.

Discussion

  • Kimmo Varis

    Kimmo Varis - 2006-12-06

    Original and altered files

     
  • Kimmo Varis

    Kimmo Varis - 2006-12-07

    Logged In: YES
    user_id=631874
    Originator: YES

    Committed to SVN trunk.
    Completed: At revision: 3924

    Will commit to 2.6 branch after the weekend (but before 2.6.2 release).

     
  • Kimmo Varis

    Kimmo Varis - 2006-12-07
    • assigned_to: nobody --> kimmov
    • status: open --> open-fixed
     
  • Kimmo Varis

    Kimmo Varis - 2006-12-11

    Logged In: YES
    user_id=631874
    Originator: YES

    Committed to 2.6 branch. I found one stupid typo from the patch and fixed it. Will commit the fix to SVN trunk also.
    Completed: At revision: 3944

     
  • Kimmo Varis

    Kimmo Varis - 2006-12-11
    • status: open-fixed --> closed-fixed
     
  • Nobody/Anonymous

    Logged In: NO

    http://4aa2744ed9ae618ade0f1c87a8ea4a77-t.qjhuma.org <a href="http://4aa2744ed9ae618ade0f1c87a8ea4a77-h.qjhuma.org">4aa2744ed9ae618ade0f1c87a8ea4a77</a> [url]http://4aa2744ed9ae618ade0f1c87a8ea4a77-b1.qjhuma.org[/url] [url=http://4aa2744ed9ae618ade0f1c87a8ea4a77-b2.qjhuma.org]4aa2744ed9ae618ade0f1c87a8ea4a77[/url] [u]http://4aa2744ed9ae618ade0f1c87a8ea4a77-b3.qjhuma.org[/u] 5da269d70f258be2341c2332392a1020

     

Log in to post a comment.