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 <[email protected]> > > 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 <[email protected] <mailto:[email protected]>> wrote: > >> That was in global scope. Should that matter? > >> > >>> On Nov 26, 2014, at 1:30 PM, John Myles White <[email protected] > >>> <mailto:[email protected]>> wrote: > >>> > >>> ?
