mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
ed18423fba
- We expect most files to already be sorted, so an insertion sort starting from the end of the current array should be more efficient than a general sort step after all cues are loaded - Added a test for insertion sorting as well.
17 lines
243 B
Plaintext
17 lines
243 B
Plaintext
WEBVTT
|
|
|
|
00:03.000 --> 00:04.000
|
|
Should display fifth.
|
|
|
|
00:01.000 --> 00:02.000
|
|
Should display first.
|
|
|
|
00:01.000 --> 00:03.000
|
|
Should display second.
|
|
|
|
00:02.000 --> 00:04.000
|
|
Should display forth.
|
|
|
|
00:02.000 --> 00:03.000
|
|
Should display third.
|