23 May 2018

Splatting in Julia

Splatting is handy, splatting is slow.

Julia is on the verge of being 1.0. I have been using Julia for three years, and felt that it is really nice and elegent a language. The syntax is predictable and gramma intuitive. There are two kinds of Julia users in general. One kind of user pursues speed. They would care every detail that would affect code performance. The other kind of user, like me, weight elegance more than sheer performance. Splatting is beautiful in its appearance, but people of the first kind often jump out and warns you: use splatting with care! do not use them for large lists! etc., etc…

So, what splatting is?