-
Notifications
You must be signed in to change notification settings - Fork 8
Description
@stevengj we had a conversation (at meepcon) about some of the potential pitfalls of the current implementation of GeometryPrimitives.jl
compared to the C
version of libctl
.
You mentioned the primary issue had to do with dispatch. libctl
has a custom dispatch routine that is rather optimized for many function calls, whereas the current GeometryPrimitives.jl
implementation tries to generalize for multiple dispatch (but I may be misremembering...).
Could you talk a bit more about that here and maybe discuss what it would take to overcome some of these issues?
I read a recent article by @ChrisRackauckas that describes how they cut down on compile times by limiting dispatch flexibility. The issue here isn't with compile time, but I'm wondering if there are similar lessons to be learned.