multiple: Use FxHashMap for s p e e d

This commit is contained in:
2024-12-12 14:01:04 -08:00
parent 447ff5c62c
commit 6022d2cc39
6 changed files with 26 additions and 7 deletions

View File

@ -1,9 +1,11 @@
use aoc_runner_derive::{aoc, aoc_generator};
use grid::Grid;
use itertools::Itertools;
use std::collections::HashSet;
use rustc_hash::FxHashSet;
use std::io::BufRead;
type HashSet<T> = FxHashSet<T>;
#[aoc_generator(day8)]
pub fn get_input(input: &[u8]) -> AntennaMap {
AntennaMap::from(input)