[pan2: 4/68] Save some more memory by re-ordering a few variables.
- From: Petr Kovář <pmkovar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2: 4/68] Save some more memory by re-ordering a few variables.
- Date: Tue, 8 Feb 2011 22:58:22 +0000 (UTC)
commit 9e5d4240c4c5ec4032c41294e9b12f8fcb88ec02
Author: K. Haley <haleykd users sf net>
Date: Sat Dec 26 23:05:53 2009 -0700
Save some more memory by re-ordering a few variables.
pan/data/article.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pan/data/article.h b/pan/data/article.h
index 7adf703..74cd756 100644
--- a/pan/data/article.h
+++ b/pan/data/article.h
@@ -66,10 +66,13 @@ namespace pan
PartState get_part_state () const;
public:
- bool is_binary;
Quark message_id;
Quark author;
Quark subject;
+ time_t time_posted;
+ unsigned int lines;
+ int score;
+ bool is_binary;
static bool has_reply_leader (const StringView&);
public:
@@ -79,9 +82,6 @@ namespace pan
unsigned long get_byte_count () const;
bool is_byte_count_ge (unsigned long test) const;
- unsigned int lines;
- int score;
- time_t time_posted;
Xref xref;
public:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]