Posted on:
May 5th, 2025
Tips and Tricks #109: Cache Dependencies in GitHub Actions
Speed up CI builds by caching package manager dependencies between runs.
Speed up CI builds by caching package manager dependencies between runs.
Process large datasets without loading everything into memory using Python generators.
Rent and return arrays from a shared pool to avoid repeated allocations in buffer-heavy code.
Eliminate heap allocations when parsing strings by using Span
Handle rate limits and transient failures gracefully with exponential backoff.
Share common code and dependencies across Lambda functions to reduce deployment size.