What would you expect an assignment at global scope to do? If it created a
local variable, what scope would it be local to?

On Fri, Dec 5, 2014 at 8:41 AM, John Drummond <john...@gmail.com> wrote:

> Thanks. I missed a couple of those links, though I did try seaching.
> Yes I'd read the last performance tips, but what I hadn't found was why it
> wasn't harder to have global variables or in what cases they'd be essential.
>
>
> On Friday, December 5, 2014 1:06:19 PM UTC, Isaiah wrote:
>>
>> See the discussions in
>> http://julia.readthedocs.org/en/release-0.3/manual/performance-tips/
>> https://github.com/JuliaLang/julia/issues/524
>> https://github.com/JuliaLang/julia/issues/8870
>> (and elsewhere)
>>
>>
>> On Fri, Dec 5, 2014 at 7:13 AM, John Drummond <joh...@gmail.com> wrote:
>>
>>> I suspect I'm missing something here.
>>>
>>> I had a simple script to strip out nuls from a text file.
>>> placing a let at the beginning and end at the end resulted in a 70 times
>>> speed up.
>>>
>>> I'm wondering what the reason is that there isn't the equivalent of a
>>> let end wrapped around everything, and where global variables have to be
>>> used they have to be specifically declared as such?
>>>
>>>
>>>
>>>
>>

Reply via email to