the.bay.news

A plot of dynamic dispatch cost

Julia Programming Language
A plot of dynamic dispatch cost
I made some experiments that helped me further understand both qualitative and quantitative behaviour of dynamic dispatch cost and method caches. So I thought I may as well add it to the collection. Have a look if you like. I do not mean to suggest to do anything in a literal sense done in the code. In particular Val{n} and sum are just placeholders for some types and a function. using Plots valsum(::Val{x}) where x = Val(sum(x)) valsum(::Val{m1}, ::Val{m2}) where {m1,m2} = Val(m1+m2) vals...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.