On Wed, May 6, 2015 at 12:57 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > On Wed, 6 May 2015 05:42 am, Cecil Westerhof wrote: > >> I would say that a variable that is filled by a range is different as >> a normal variable. Do not ask me why. ;-) > > > I would say that you are wrong. If I have understood you correctly, that > cannot possibly be the case in Python, all Python variables work the same > way[1], and none of them can remember where they came from.
My reading of the code was that one had two variables and the other had just one. Could be the noise in the numbers came from cache locality differences. No difference between the variables, just a peculiarity of CPUs and how they use memory. ChrisA -- https://mail.python.org/mailman/listinfo/python-list