Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slow with large MPD #403

Closed
3052 opened this issue Jun 8, 2024 · 1 comment · Fixed by #493
Closed

slow with large MPD #403

3052 opened this issue Jun 8, 2024 · 1 comment · Fixed by #493
Labels
enhancement New feature or request

Comments

@3052
Copy link

3052 commented Jun 8, 2024

@3052
Copy link
Author

3052 commented Jun 8, 2024

this code can parse in 2 seconds:

package main

import (
   "154.pages.dev/dash"
   "os"
)

// TotalSeconds      : 1.9082671
func main() {
   text, err := os.ReadFile("0b42a3d4-d856-4cab-a1b1-500b743f202d_corrected.mpd")
   if err != nil {
      panic(err)
   }
   var mpd dash.MPD
   mpd.Unmarshal(text)
}

@3052 3052 closed this as completed Sep 16, 2024
@3052 3052 reopened this Oct 31, 2024
@nilaoda nilaoda added the enhancement New feature or request label Nov 17, 2024
nilaoda added a commit that referenced this issue Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants