perf: compile remote match patterns once instead of per-request #73

Closed
opened 2026-07-02 00:20:16 +10:00 by unkinben · 0 comments
Owner

Classifier.Classify (internal/proxy/classifier.go:39) recompiles Blocklist/Patterns/Immutable/Mutable regexes on every request. Compile once when the remote is loaded/cached and reuse.

`Classifier.Classify` (`internal/proxy/classifier.go:39`) recompiles Blocklist/Patterns/Immutable/Mutable regexes on every request. Compile once when the remote is loaded/cached and reuse.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/artifactapi#73