mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-30 03:31:51 +00:00
Move regex compilation from function bodies to package-level variables to avoid recompilation when parsing version strings. Affected regexes: - semverRe: Matches semantic version format (X.Y.Z-prerelease+build) - rcNumRe: Extracts RC number from prerelease strings These are called multiple times during version comparison and update checks. |
||
|---|---|---|
| .. | ||
| adapter_installsh.go | ||
| adapter_installsh_test.go | ||
| history.go | ||
| history_test.go | ||
| manager.go | ||
| manager_test.go | ||
| mock_updater.go | ||
| queue.go | ||
| queue_test.go | ||
| sse.go | ||
| sse_test.go | ||
| updater.go | ||
| updater_test.go | ||
| version.go | ||
| version_test.go | ||