From a974c90dcfd8b48316e9db4c09bb83c9e1a314d4 Mon Sep 17 00:00:00 2001 From: Michele Comitini Date: Thu, 4 Jul 2013 15:57:05 +0200 Subject: [PATCH] row speedups --- gluon/dal.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gluon/dal.py b/gluon/dal.py index 11b246d0..ea7b5537 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -6869,6 +6869,11 @@ class Row(object): def __getitem__(self, k): key=str(k) + #_extra = self.__dict__.get('_extra', None) + #if _extra: + # v = _extra.get(key, None) + # if v: + # return v if key in self.get('_extra',{}): return self._extra[key] m = REGEX_TABLE_DOT_FIELD.match(key)