1.1 --- a/micropython/table.py Mon Sep 01 01:32:32 2008 +0200
1.2 +++ b/micropython/table.py Thu Sep 04 19:44:39 2008 +0200
1.3 @@ -202,6 +202,7 @@
1.4 self.objnames = []
1.5 self.names = []
1.6 self.displaced_list = None
1.7 + self.raw = None
1.8
1.9 def add(self, objname, attributes):
1.10
1.11 @@ -321,7 +322,9 @@
1.12
1.13 "Return the raw contents of the table as a list of values."
1.14
1.15 - return self.as_list().as_raw()
1.16 + if self.raw is None:
1.17 + self.raw = self.as_list().as_raw()
1.18 + return self.raw
1.19
1.20 class ObjectTable(Table):
1.21