> There's nothing wrong with building dicts or other lookup tables outside > a function in order to avoid re-creating them every time the function is > called. Brilliant! I didn't think of that. I guess I accidentally did it right this time as I query that dictionary quite a few times from the function. Thanks MRAB and All!