Borg/pkg/pwa
Snider d2b0c80e0b Optimize regex compilation in PWA service worker detection
Moved regex compilation out of the loop in `detectServiceWorker` to a package-level variable. This avoids recompiling the regex for every file and every pattern iteration.

Performance improvement:
- Speedup: ~5.4x (20.7ms/op -> 3.8ms/op)
- Memory: ~94% reduction (13MB/op -> 0.8MB/op)
- Allocations: ~89% reduction (80k/op -> 9k/op)
2026-02-02 01:43:06 +00:00
..
pwa.go Optimize regex compilation in PWA service worker detection 2026-02-02 01:43:06 +00:00
pwa_test.go feat: Add ChaCha20-Poly1305 encryption and decryption for TIM files (.stim), enhance CLI for encryption format handling (stim), and include metadata inspection support 2025-12-26 01:25:03 +00:00