Day 6 ~ Performant Solution?

This page summarizes the projects mentioned and recommended in the original post on /r/adventofcode

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • rusty-aoc

    My solutions to Advents of Code in Rust

  • I use itertools::Itertools which have a nice all_unique (internally, it creates a hashset and insert elements one by one unless it already contains it) but if I really wanted efficiency, I would manage my own hashset because this method is called for each character.

  • advent-of-code

    my attempt at advent of code (by Isawan)

  • for my solution, I used a bitset as an auxillary data structure. The trick is that since chracters are all lower case there's only 26 of them. This means if you use a u32 where each bit is a chracter, you can just OR the slice together and count the number of bits after ORing. https://github.com/Isawan/advent-of-code/blob/master/2022/src/bin/day6-fast.rs

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Apple hiring compiler developers for improving Swift / C++ interoperability

    4 projects | news.ycombinator.com | 13 Jan 2024
  • -❄️- 2023 Day 9 Solutions -❄️-

    196 projects | /r/adventofcode | 8 Dec 2023
  • [All years, all dates] Me after finishing all Advent of Code problems this year (my first year of AoC)

    6 projects | /r/adventofcode | 29 Dec 2022
  • -🎄- 2022 Day 13 Solutions -🎄-

    149 projects | /r/adventofcode | 12 Dec 2022
  • Prawda o Pracy

    3 projects | /r/Polska | 12 Nov 2022