≈ the.bay.news

Could `reduce_first` avoid specializing on abstractly typed inputs?

Julia Programming Language
Could `reduce_first` avoid specializing on abstractly typed inputs?
Since the TTFX benchmark for CairoMakie.jl evaluates the impact of many packages, we (I) have added a relatively conservative TTFX benchmark for Colors.jl. This benchmark also highlights a known issue: the specialization of reduce_first in FixedPointNumbers.jl is causing invalidation. Would it make sense for Base to use dynamic dispatch for reduce_first when the input type is abstract (e.g., Any), while retaining the current specialization behavior for concrete types? I expect the performan...

0 comments

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

No comments yet.