[mythtv-commits] [MythTV/mythtv] 8188fa: Improve sorting with ternary comparisons

Scott Theisen noreply at github.com
Fri May 27 22:02:06 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 8188fa7612ccfef399d8bb8b4e65d2769270ccff
      https://github.com/MythTV/mythtv/commit/8188fa7612ccfef399d8bb8b4e65d2769270ccff
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M mythtv/libs/libmythbase/libmythbase.pro
    M mythtv/libs/libmythbase/mythdate.h
    M mythtv/libs/libmythbase/stringutil.cpp
    A mythtv/libs/libmythbase/ternarycompare.h
    M mythtv/libs/libmythmetadata/videometadata.cpp

  Log Message:
  -----------
  Improve sorting with ternary comparisons

This makes the sorting functions much more readable.  Part 1.


  Commit: 09ce7e3596d1b079f00c81a1714d4087ffa74153
      https://github.com/MythTV/mythtv/commit/09ce7e3596d1b079f00c81a1714d4087ffa74153
  Author: Scott Theisen <scott.the.elm at gmail.com>
  Date:   2022-05-27 (Fri, 27 May 2022)

  Changed paths:
    M mythtv/libs/libmythbase/stringutil.h
    M mythtv/libs/libmythmetadata/dbaccess.cpp
    M mythtv/programs/mythfrontend/editvideometadata.cpp
    M mythtv/programs/mythfrontend/prevreclist.cpp
    M mythtv/programs/mythfrontend/programrecpriority.cpp
    M mythtv/programs/mythfrontend/videofilter.cpp
    M mythtv/programs/mythfrontend/videolist.cpp

  Log Message:
  -----------
  rewrite sort comparisons for clarity

excluding mythtv/libs/libmythtv/channelutil.cpp


Compare: https://github.com/MythTV/mythtv/compare/7ba14ffe473e...09ce7e3596d1


More information about the mythtv-commits mailing list