Skip to content

disaggregate is type unstable #1016

@tiemvanderdeure

Description

@tiemvanderdeure

disaggregate allocates for Union eltypes

using Rasters
r = Raster(rand(X(1:1000), Y(1:1000)))
r2 = replace_missing(r)
@time disaggregate(r, 2)
@time disaggregate(r2, 2)

Timings (after compilation):

0.049012 seconds (28 allocations: 30.519 MiB)
  1.054906 seconds (4.00 M allocations: 141.149 MiB, 5.11% gc time)

Profile:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions