| 27 Oct 2023 |
Mic92 | I have the feeling that the eval time of this would be higher than the speed of the go compiler. | 06:38:30 |
adisbladis | But when I did that all compiler savings were dwarfed by copying files around | 06:38:38 |
Mic92 | the cache also speeds up proxyVendor = true; | 06:39:26 |
Mic92 | Because we are using GOMODCACHE | 06:39:37 |
adisbladis | (I was using gomod2nix) | 06:39:44 |
Mic92 | Can cache entries not be symlinked into one tree from single dependencies? | 06:40:37 |
adisbladis | I don't think so | 06:41:02 |
adisbladis | My memory is extremely fuzzy about this | 06:41:27 |
adisbladis | But as far as I remember it it's just a pile of files that the compiler mutates | 06:41:50 |
Mic92 | The go cache works a bit like nix. | 06:42:00 |
adisbladis | So merging behaviour is hard | 06:42:01 |
Mic92 | It computes a cache key over the inputs. | 06:42:12 |