[mythtv-firehose] mythtv/master commit: bdb7e799e by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Fri Jul 22 21:56:52 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-07-22T14:54:52-07:00
   Push Date:  2011/07/22 14:56:44 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  bdb7e799e80aab0eba66c876e3e9de5ea0a81ba1
   Changeset:  https://github.com/MythTV/mythtv/commit/bdb7e799e

Log:

Split out the QRegExp in logging to get compiled once.

Rather than recompiling the regular expression on each log message, we now
compile it once, and apply many times.  This should be a fair amount more
efficient, even though it necessitates a strchr to look for %, and then
conversion back to QString.

Modified:

   mythtv/libs/libmythbase/mythlogging.cpp
   mythtv/libs/libmythbase/mythlogging.h
   mythtv/programs/mythtranscode/replex/replex.c



More information about the mythtv-firehose mailing list