ode.
> >
> >> -Original Message-
> >> From: julia-users@googlegroups.com [mailto:julia-
> >> us...@googlegroups.com] On Behalf Of Tim Holy
> >> Sent: Tuesday, July 19, 2016 10:55 AM
> >> To: julia-users@googlegroups.com
> >> Subject:
t;> us...@googlegroups.com] On Behalf Of Tim Holy
>> Sent: Tuesday, July 19, 2016 10:55 AM
>> To: julia-users@googlegroups.com
>> Subject: Re: [julia-users] What does Base.box mean in code_warntype?
>>
>> They can mean "real" boxing and consequent performance pro
code.
> -Original Message-
> From: julia-users@googlegroups.com [mailto:julia-
> us...@googlegroups.com] On Behalf Of Tim Holy
> Sent: Tuesday, July 19, 2016 10:55 AM
> To: julia-users@googlegroups.com
> Subject: Re: [julia-users] What does Base.box mean in code_warntype?
>
> Th
They can mean "real" boxing and consequent performance problems, but sometimes
these get auto-removed during compilation. I see this all the time when
writing array code, for example this function which takes an input tuple and
adds 1 to each element:
julia> @inline inc1(a) = _inc1(a...)
inc1 (
On Fri, Jul 15, 2016 at 5:02 PM, David Anthoff wrote:
>
> What do these mean?
>
http://stackoverflow.com/questions/13055/what-is-boxing-and-unboxing-and-what-are-the-trade-offs
> And should I be worried, i.e. is this an indication that something slow
> might be going on?
>
Boxing requires all
Pretty much this https://github.com/JuliaLang/julia/issues/15276
Bump, does anyone have some info about this? Thanks, David
From: julia-users@googlegroups.com [mailto:julia-users@googlegroups.com] On
Behalf Of David Anthoff
Sent: Friday, July 15, 2016 2:02 PM
To: julia-users@googlegroups.com
Subject: [julia-users] What does Base.box mean in code_warntype
I'm looking for type instabilities in a function with code_warntype, and I'm
seeing lots of ``(Base.box)`` terms there.
What do these mean? And should I be worried, i.e. is this an indication that
something slow might be going on?
--
David Anthoff
University of California, Berkeley
ht