[POS-commit] Kiwi/Kiwi Delegates.py,1.121,1.122
Christian Robottom Reis
kiko at async.com.br
Wed Oct 15 03:55:43 BRST 2003
Update of /cvs/Kiwi/Kiwi
In directory anthem:/tmp/cvs-serv11105
Modified Files:
Delegates.py
Log Message:
Inline a couple of extra calls.
Index: Delegates.py
===================================================================
RCS file: /cvs/Kiwi/Kiwi/Delegates.py,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -d -r1.121 -r1.122
--- Delegates.py 14 Oct 2003 23:50:13 -0000 1.121
+++ Delegates.py 15 Oct 2003 03:55:41 -0000 1.122
@@ -658,12 +658,16 @@
else:
decimal = None
convert = clist._get_column_converter(column)
+ _get_text = self._get_instance_text
+ _get_row = clist._get_insert_sorted_row
+ _insert = clist._raw_insert
+ _set_row_data = clist.set_row_data
+ _o = clist._o
for item in l:
- text = self._get_instance_text(item)
- row = clist._get_insert_sorted_row(text[column], column, decimal,
- convert=convert)
- row = clist._raw_insert(clist._o, row, text)
- clist.set_row_data(row, item)
+ text = _get_text(item)
+ row = _get_row(text[column], column, decimal, convert=convert)
+ _insert(_o, row, text)
+ _set_row_data(row, item)
self._list = self._list + list(l)
# End speed-hack
More information about the POS-commit
mailing list