# \#cache

**URL:** https://discourse.julialang.org/tag/cache/638.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Column-wise calculations in arrays are slower](https://discourse.julialang.org/t/column-wise-calculations-in-arrays-are-slower/107814)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 16\
**Last updated:** [May 28, 2026, 2:32pm UTC](https://discourse.julialang.org/t/column-wise-calculations-in-arrays-are-slower/107814 "2026-05-28T14:32:01Z")

</div>

I just read the excellent article on improving calculation performance in loops on the Julia blog fast-numeric. In the article we can read … Julia arrays are stored in column-major order, which means that the rows of …

---

## [Loading Unitful from cache takes forever at every VScode restart](https://discourse.julialang.org/t/loading-unitful-from-cache-takes-forever-at-every-vscode-restart/136979)

<div class="topic-metadata">

**Author:** [@alequa](https://discourse.julialang.org/u/alequa)\
**Replies:** 8\
**Last updated:** [May 6, 2026, 11:24am UTC](https://discourse.julialang.org/t/loading-unitful-from-cache-takes-forever-at-every-vscode-restart/136979 "2026-05-06T11:24:29Z")

</div>

Hello, I am using a large environment that loads several packages. The language server takes several minutes (!!!) every time it loads Unitful from cache. The other packages go just fine! \[ Info: Done loading EasyFit f…

---

## [Static call at runtime](https://discourse.julialang.org/t/static-call-at-runtime/134516)

<div class="topic-metadata">

**Author:** [@epilliat](https://discourse.julialang.org/u/epilliat)\
**Replies:** 7\
**Last updated:** [December 14, 2025, 9:55am UTC](https://discourse.julialang.org/t/static-call-at-runtime/134516 "2025-12-14T09:55:56Z")

</div>

This problem comes from several pieces of code I’ve been struggling to optimize due to missunderstanding of Julia compiler. I would like to know if there are any “standard” way to do this. Consider a function f that doe…

---

## [Cache misses when 'using' packages since upgrading to 1.11](https://discourse.julialang.org/t/cache-misses-when-using-packages-since-upgrading-to-1-11/121445)

<div class="topic-metadata">

**Author:** [@Eliassj](https://discourse.julialang.org/u/Eliassj)\
**Replies:** 14\
**Last updated:** [March 27, 2025, 9:23am UTC](https://discourse.julialang.org/t/cache-misses-when-using-packages-since-upgrading-to-1-11/121445 "2025-03-27T09:23:48Z")

</div>

Since upgrading to 1.11 I’ve been receiving messages about cache misses like this one: julia\> using GLMakie \[ Info: Precompiling GLMakie \[e9467ef8-e4e7-5192-8a1a-b1aee30e663a\] (cache misses: invalid header (8)) and thi…

---

## [\[ANN\] SemanticCaches.jl: Save Time and Money with Request Caching](https://discourse.julialang.org/t/ann-semanticcaches-jl-save-time-and-money-with-request-caching/116758)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 0\
**Last updated:** [July 8, 2024, 8:07am UTC](https://discourse.julialang.org/t/ann-semanticcaches-jl-save-time-and-money-with-request-caching/116758 "2024-07-08T08:07:21Z")

</div>

Introducing SemanticCaches.jl: Save Time and Money with Request Caching Are you tired of repeated LLM API calls slowing down your AI application and eating into your budget? Look no further than SemanticCaches.jl, a cac…

---

## [Storing comparisons](https://discourse.julialang.org/t/storing-comparisons/110513)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 1\
**Last updated:** [February 21, 2024, 1:58pm UTC](https://discourse.julialang.org/t/storing-comparisons/110513 "2024-02-21T13:58:54Z")

</div>

I have a program which computes a number, stores it and uses it for many times. Then it proceeds to the next iteration (it’s a loop), generates another number, stores it and uses it as well for many times. Considering …

---

## [Adding and updating a scalar to the Integerator Cache in DifferentialEquations.jl](https://discourse.julialang.org/t/adding-and-updating-a-scalar-to-the-integerator-cache-in-differentialequations-jl/103805)

<div class="topic-metadata">

**Author:** [@cdawg](https://discourse.julialang.org/u/cdawg)\
**Replies:** 12\
**Last updated:** [September 14, 2023, 3:28pm UTC](https://discourse.julialang.org/t/adding-and-updating-a-scalar-to-the-integerator-cache-in-differentialequations-jl/103805 "2023-09-14T15:28:02Z")

</div>

Background. I have a nice stochastic jump-piecewise-ODE behaving as it should. Thanks @ChrisRackauckas and team! Basically this would have been completely impossible in any other language/package! Now I want to calculat…

---

## [How to reduce memory allocations in the Sieve of Eratosthenes?](https://discourse.julialang.org/t/how-to-reduce-memory-allocations-in-the-sieve-of-eratosthenes/70679)

<div class="topic-metadata">

**Author:** [@vini-fda](https://discourse.julialang.org/u/vini-fda)\
**Replies:** 8\
**Last updated:** [November 5, 2021, 2:57pm UTC](https://discourse.julialang.org/t/how-to-reduce-memory-allocations-in-the-sieve-of-eratosthenes/70679 "2021-11-05T14:57:17Z")

</div>

Hello there! So I was trying to implement a cache-friendly version of the famous Sieve of Erathostenes in julia, and came up with this: function sieve\_cache\_optim(limit::UInt32; block\_size = 2^15) max\_primes = isqr…

---

## [Does Julia cache version of function with given input value?](https://discourse.julialang.org/t/does-julia-cache-version-of-function-with-given-input-value/67445)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.julialang.org/u/Thomas)\
**Replies:** 7\
**Last updated:** [August 31, 2021, 9:24pm UTC](https://discourse.julialang.org/t/does-julia-cache-version-of-function-with-given-input-value/67445 "2021-08-31T21:24:02Z")

</div>

Say I am doing y = x\[perm\] for a permutation perm. I believe that Julia would dispatch and compile a version of getindex(x, perm) for the type that I called. Now if I call y1 = x1\[perm\] again for the same types but diffe…

---

## [Julia alignas: is there a way to specify the alignment of Julia objects in memory?](https://discourse.julialang.org/t/julia-alignas-is-there-a-way-to-specify-the-alignment-of-julia-objects-in-memory/57501)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 15\
**Last updated:** [March 20, 2021, 10:25pm UTC](https://discourse.julialang.org/t/julia-alignas-is-there-a-way-to-specify-the-alignment-of-julia-objects-in-memory/57501 "2021-03-20T22:25:25Z")

</div>

In C++ there is alignas (and related stuff like alignof): https://en.cppreference.com/w/cpp/language/alignas alignas enables specifying, for example, that an array’s storage should be aligned to 64 bytes in memory, whi…

---

## [How are compile cache files named?](https://discourse.julialang.org/t/how-are-compile-cache-files-named/57304)

<div class="topic-metadata">

**Author:** [@bluesmoon](https://discourse.julialang.org/u/bluesmoon)\
**Replies:** 6\
**Last updated:** [March 16, 2021, 4:16pm UTC](https://discourse.julialang.org/t/how-are-compile-cache-files-named/57304 "2021-03-16T16:16:10Z")

</div>

I’m using julia 1.5.3. This question is based on my curiosity of how julia works and not something that’s affecting my work. I have several modules that I’ve written myself, and they in turn use some modules from the pu…
