snix/users/sterni/exercises/aoc
sterni eeba67de1c refactor(sterni/blërg): avoid calling mhdr once per header
We can actually get all the headers we are interested in just one call
of mhdr(1) since it can query multiple headers in multiple messages in
just one call. With BQNs reshape / two dimensional array facilities it
is easy to group the lines of headers by their originating message and
append the original path to the result array.

We still use a separate mhdr(1) call for the Date header since we rely
on the -D option for parsing the header.

Change-Id: Iaaf8f21fa22ab3e32e6900df4ae164e72c722cd3
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13016
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
2025-02-05 18:22:34 +00:00
..
2021 feat(sterni/aoc/2022): day18 BQN solution 2022-12-20 19:01:26 +00:00
2022 feat(sterni/aoc/2022): day16 part 1 k solution 2023-01-22 14:36:01 +00:00
.gitignore feat(sterni/exercises/aoc/2022): add basic scaffolding 2022-12-01 23:50:32 +00:00
lib.bqn refactor(sterni/blërg): avoid calling mhdr once per header 2025-02-05 18:22:34 +00:00