Skip to content

Commit

Permalink
Merge #2130
Browse files Browse the repository at this point in the history
2130: Remove spaces from cache r=charleskawczynski a=charleskawczynski

Spaces don't need to be explicitly added to the cache-- that just adds to the type parameter space at no benefit since we can already get it from one of the many fields (also, we never use it!).

It looks like some of the init times are slightly improved in this PR.

Co-authored-by: Charles Kawczynski <kawczynski.charles@gmail.com>
  • Loading branch information
bors[bot] and charleskawczynski authored Sep 20, 2023
2 parents ceeb11f + bbd5620 commit e05216b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cache/cache.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ function default_cache(
default_cache = (;
is_init = Ref(true),
simulation,
spaces,
atmos,
comms_ctx = ClimaComms.context(axes(Y.c)),
sfc_setup = surface_setup(params),
Expand Down

0 comments on commit e05216b

Please sign in to comment.