Yup, to clarify they are both fast and neither allocated a significant amount 
of memory.

Thanks,
Colin

> On Nov 27, 2014, at 5:07 AM, Tim Holy <tim.h...@gmail.com> wrote:
> 
> I should have read the rest of the thread. By "similar timings" do you mean 
> now that they both are fast and neither allocates any significant memory? 
> (This 
> is how it should be.) If not, you're still using a global variable.
> 
> --Tim
> 
> On Wednesday, November 26, 2014 01:46:22 PM Colin Lea wrote:
>> Ah, ok. Thanks! I ran those as functions and got similar timings.
>> 
>>> On Nov 26, 2014, at 1:35 PM, John Myles White <johnmyleswh...@gmail.com>
>>> wrote:
>>> 
>>> Yes, the global scope is scarcely optimized and doesn't provide useful
>>> information about performance.> 
>>> -- John
>>> 
>>> On Nov 26, 2014, at 10:33 AM, Colin Lea <colin...@gmail.com 
> <mailto:colin...@gmail.com>> wrote:
>>>> That was in global scope. Should that matter?
>>>> 
>>>>> On Nov 26, 2014, at 1:30 PM, John Myles White <johnmyleswh...@gmail.com
>>>>> <mailto:johnmyleswh...@gmail.com>> wrote:
>>>>> 
>>>>> ?
> 

Reply via email to