From f790e4397c82262793bc23e4ce436af14dc52630 Mon Sep 17 00:00:00 2001
From: jdsteve2 <jdsteve2@illinois.edu>
Date: Fri, 9 Feb 2018 00:59:09 -0600
Subject: [PATCH] comment documenting reason for overriding Record.__repr__

---
 loopy/statistics.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/loopy/statistics.py b/loopy/statistics.py
index 64b849a43..a6b461e88 100755
--- a/loopy/statistics.py
+++ b/loopy/statistics.py
@@ -498,6 +498,7 @@ class Op(Record):
         return hash(str(self))
 
     def __repr__(self):
+        # Record.__repr__ overridden for consistent ordering and conciseness
         return "Op(%s, %s, %s)" % (self.dtype, self.name, self.count_granularity)
 
 # }}}
@@ -574,6 +575,7 @@ class MemAccess(Record):
         return hash(str(self))
 
     def __repr__(self):
+        # Record.__repr__ overridden for consistent ordering and conciseness
         return "MemAccess(%s, %s, %s, %s, %s, %s)" % (
             self.mtype,
             self.dtype,
-- 
GitLab