-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve x-subrip detection performance (#524)
* srt: improve performance by using bytes.Cut instead of bufio.Scanner it helps with mem allocs Before: BenchmarkSrt-8 946042 1089 ns/op 4240 B/op 5 allocs/op After: BenchmarkSrt-8 3235448 368.8 ns/op 64 B/op 2 allocs/op
- Loading branch information
1 parent
043efb9
commit 341c422
Showing
4 changed files
with
56 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.