multiple: Use FxHashMap for s p e e d

This commit is contained in:
ktims committed 2024-12-12 14:07:22 -08:00
1 parent 447ff5c62c
commit 6022d2cc39
6 files changed
+26 -7

No files matched your search

+3 -1
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)