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

ftyp: exit asap to prevent mem allocs #517

Merged
merged 1 commit into from
May 5, 2024
Merged

Commits on May 5, 2024

  1. ftyp: exit asap to prevent mem allocs

    go test -bench=SliceRand -benchmem
    before:
    BenchmarkSliceRand-8   	  688160	      1690 ns/op	     728 B/op	      75 allocs/op
    after:
    BenchmarkSliceRand-8   	 1232066	      1173 ns/op	     160 B/op	       4 allocs/op
    gabriel-vasile committed May 5, 2024
    Configuration menu
    Copy the full SHA
    a140020 View commit details
    Browse the repository at this point in the history