[PATCH] StatHist / StatCounters refactoring interim merge

From: Kinkie <gkinkie_at_gmail.com>
Date: Wed, 14 Dec 2011 09:19:45 +0100

Hi all,
  attached you can find my proposal for an interim merge of my current
StatHist / StatCounters refactoring effort.
What I tried to achieve so far is:
- c++-refactor StatHist
- get code out of protos.h, typedefs.h, protos.h and globals.h in
order to reduce linking dependencies
- adapt callers
- document things, or at least try to. Help will probably be needed to
improve this part.

What was not done yet:
- Finish c++-refactoring, by using constructors, virtual methods and
class hierarchy instead of function pointers and explicit
post-construction initialization
- change counters to unsigned ints and bigger int sizes (there's an
open bug on this)

What crept in:
- some postfix-to-prefix-increment changes. these are harmless, and
I'll do a specific-purpose sweep on the whole codebase once I'm done
with this effort.

Code compiles and tests cleanly.

Can you check it out please? Don't be fooled by the size of the patch,
it's due to the 20 lines of context for each changed line: there are a
total of about 750 individual changes.

Thanks

-- 
    /kinkie

Received on Wed Dec 14 2011 - 08:19:53 MST

This archive was generated by hypermail 2.2.0 : Thu Dec 15 2011 - 12:00:07 MST