heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
72 stars 3 forks source link

Reduce `@component` compile time #134

Open heyx3 opened 5 months ago

heyx3 commented 5 months ago

I suspect it's really slowing down MantleDiver, which means it currently does not scale well. We should profile to confirm though.

I also suspect a lot of it is due to lambda/helper function specialization, so start sprinkling @nospecialize everywhere inside the macro implementation and see how it improves.