Aliasing structs breaks type stability

You need to make the short name a const.

const ShStruct = LongStructName

This is the first performance tip: Performance Tips · The Julia Language.

5 Likes