v0.2.0
- Reusable analyzer:
createCalendarAnalyzer(gtfs, options)loads the feed once;analyze(hints)is pure in-memory computation, so trying several hint sets costs milliseconds.findCalendarPeriodsdelegates to it (identical results). - Optional raw-SQL fast path (
fastPathoption, default true): when the source exposes a gtfs-sqljs adapter database ondb, read-only SQL queries replace the row-by-rowgetXXXXcalls with identical results — ~×6 on Astuce (Rouen). Falls back to the portable path on any failure. - Custom hint attributes:
findCalendarPeriodsandCalendarAnalyzer.analyzeare now generic (H extends Hint) — hints may carry arbitrary extra attributes, preserved by reference in the results (no copies) and typed all the way through.MatchedGroupgainshint(the originating hint object) andPeriodgainshints(distinct contributing hints, in hint order, synthetic leftover hint excluded). Backward compatible.
Full details in CHANGELOG.md.