Expand description
§Utility modules to handle common recurring Advent of Code patterns.
Modules§
- Add
biterator
method that treats an integer as a set, iterating over each element where the respective bit is set. For example1101
would return 0, 2 and 3. - Fast 2 dimensional Grid backed by a single
vec
. This module is designed to work withPoint
. - Add a
chunk
method toIterator
that duplicates the functionality of the unstablearray_chunks
method. - Extended mathematical operations.
- MD5 hash algorithm
- Extracts and parses signed and unsigned integers from surrounding text and whitespace.
- Comprehensive 2 dimensional point implementation. This class is designed to work together with the
Grid
class. - Extension methods for slices.
- Utility methods to spawn a number of scoped threads equals to the number of cores on the machine. Unlike normal threads, scoped threads can borrow data from their environment.