RE: [julia-users] What does Base.box mean in code_warntype?

2016-07-21 Thread David Anthoff
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:

Re: [julia-users] What does Base.box mean in code_warntype?

2016-07-21 Thread Yichao Yu
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

RE: [julia-users] What does Base.box mean in code_warntype?

2016-07-21 Thread David Anthoff
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

Re: [julia-users] What does Base.box mean in code_warntype?

2016-07-19 Thread Tim Holy
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 (

Re: [julia-users] What does Base.box mean in code_warntype?

2016-07-19 Thread Isaiah Norton
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

RE: [julia-users] What does Base.box mean in code_warntype?

2016-07-19 Thread Kristoffer Carlsson
Pretty much this https://github.com/JuliaLang/julia/issues/15276

RE: [julia-users] What does Base.box mean in code_warntype?

2016-07-19 Thread David Anthoff
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?