# \#advent-of-code

**URL:** https://discourse.julialang.org/tag/advent-of-code/1226.md

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

---

## [Extra line reduces run time by half, but why?](https://discourse.julialang.org/t/extra-line-reduces-run-time-by-half-but-why/134432)

<div class="topic-metadata">

**Author:** [@SneakyNewt](https://discourse.julialang.org/u/SneakyNewt)\
**Replies:** 3\
**Last updated:** [December 8, 2025, 3:50pm UTC](https://discourse.julialang.org/t/extra-line-reduces-run-time-by-half-but-why/134432 "2025-12-08T15:50:42Z")

</div>

From Advent of Code Day 7, so be warned for spoilers. I created my solution and found weird behaviors where running other functions/lines made the rest of my code run far faster, but wasn’t sure why. After a very tediou…

---

## [Looking for programmatic solutions](https://discourse.julialang.org/t/looking-for-programmatic-solutions/124525)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 7\
**Last updated:** [January 10, 2025, 9:01am UTC](https://discourse.julialang.org/t/looking-for-programmatic-solutions/124525 "2025-01-10T09:01:02Z")

</div>

I tried to solve, and in the end I succeeded (I had inserted a solution with extra white spaces so the answer was rejected even if substantially correct and this made me damn in the search for the error that was not in t…

---

## [For loop performance vs "functional" performance](https://discourse.julialang.org/t/for-loop-performance-vs-functional-performance/124351)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 17\
**Last updated:** [January 4, 2025, 11:33am UTC](https://discourse.julialang.org/t/for-loop-performance-vs-functional-performance/124351 "2025-01-04T11:33:34Z")

</div>

The part 2 of the problem of day 19 of the AOC 2024 requires calculating the number of partitions of a string that are subsets of a given set of substrings. This is repeated for a list of strings and to obtain the total…

---

## [Recursion base vs hand-made recursion](https://discourse.julialang.org/t/recursion-base-vs-hand-made-recursion/124235)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 13\
**Last updated:** [December 29, 2024, 6:07pm UTC](https://discourse.julialang.org/t/recursion-base-vs-hand-made-recursion/124235 "2024-12-29T18:07:17Z")

</div>

Trying to solve the problem d17 of this year’s AOC, I found that, among the proposed solutions, the most efficient seems to be the one that uses recursion. for example, compared to an iterative one that works on the sam…

---

## [Advent of Code 2024](https://discourse.julialang.org/t/advent-of-code-2024/123444)

<div class="topic-metadata">

**Author:** [@Qfl3x](https://discourse.julialang.org/u/Qfl3x)\
**Replies:** 1\
**Last updated:** [December 4, 2024, 10:24am UTC](https://discourse.julialang.org/t/advent-of-code-2024/123444 "2024-12-04T10:24:35Z")

</div>

Is any one else participating in AoC2024? Perhaps we could share different solutions? (Maybe different threads for each day if enough people are interested)

---

## [Help with Advent of Code exercise](https://discourse.julialang.org/t/help-with-advent-of-code-exercise/93641)

<div class="topic-metadata">

**Author:** [@thetathetatheta](https://discourse.julialang.org/u/thetathetatheta)\
**Replies:** 5\
**Last updated:** [January 30, 2023, 8:28am UTC](https://discourse.julialang.org/t/help-with-advent-of-code-exercise/93641 "2023-01-30T08:28:00Z")

</div>

Hi! I started to learn Julia by solving Advent of Code exercises from previous years. My background is R but I’m a hobbyist dealing mostly with text mining for fun. So far everything is fun and games, I go through AoC …

---

## [Julia for Scientists: summary slides](https://discourse.julialang.org/t/julia-for-scientists-summary-slides/91397)

<div class="topic-metadata">

**Author:** [@tfiers](https://discourse.julialang.org/u/tfiers)\
**Replies:** 40\
**Last updated:** [December 26, 2022, 1:44pm UTC](https://discourse.julialang.org/t/julia-for-scientists-summary-slides/91397 "2022-12-26T13:44:09Z")

</div>

I gave a presentation on Julia today, for staff of my uni’s Psychology department. Many interested people in the audience! These are the slides: (It starts slow but quickly goes into more nerdy terrain; The audience…
