Hi Colin, I think if getindex inlined in vect it is not compiled seperately for your second run. Check code generated with @code_* for youreself.
- [julia-users] Abstract typed array construction JIT perfor... FANG Colin
- [julia-users] Abstract typed array construction JIT p... Lutfullah Tomak