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
Closed

slow with large MPD #403

3052 opened this issue Jun 8, 2024 · 1 comment

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant