bfarr / kombine

A kernel-density-based, embarrassingly parallel ensemble sampler
http://pages.uoregon.edu/bfarr/kombine
MIT License
34 stars 25 forks source link

Changed all 'while True:' lines to 'while 1:' which is more efficient. #10

Closed BenSandeen closed 6 years ago

BenSandeen commented 9 years ago

'while True:' in Python, according to my tests, takes over 10% longer than 'while 1:'.

bfarr commented 6 years ago

I think this is far from affecting the overall efficiency of the code, so I would like to leave it as it is for the sake of clarity and convention.