Skip to content

performance regression in power_by_squaring in julia 1.12 #58719

Open
@jmichel7

Description

@jmichel7
julia> @btime Base.power_by_squaring(m,2); setup=m=rand(1:10,100,100);
  130.965 μs (3 allocations: 78.21 KiB)

julia> VERSION
v"1.11.5"
julia> @btime Base.power_by_squaring(m,2); setup=m=rand(1:10,100,100);
  262.153 μs (6 allocations: 156.42 KiB)

julia> VERSION
v"1.12.0-beta4"

Metadata

Metadata

Assignees

No one assigned

    Labels

    mathsMathematical functionsperformanceMust go faster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions