rvlib icon indicating copy to clipboard operation
rvlib copied to clipboard

Immutable classes and loop performance

Open datnamer opened this issue 8 years ago • 1 comments

Hello and thanks for the great package. Looking forward to trying it out.

Distributions.jl uses immutable types for faster stack allocation and thus better performance in loops.

Have you done any benchmarks to compare? Would it be worth using immutable jit classes?

datnamer avatar Jul 07 '16 12:07 datnamer

Hey @datnamer thanks for checking in.

I haven't seen anything about immutable jitclasses, can you point us to some docs or another link?

sglyon avatar Jul 07 '16 21:07 sglyon