-
Notifications
You must be signed in to change notification settings - Fork 214
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: pelletier/go-toml
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: pelletier/go-toml
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 13 files changed
- 5 contributors
Commits on May 24, 2024
-
go.mod: bump minimum and language to 1.21 (#949)
* go.mod: bump minimum and language to 1.21 CI only tests Go 1.21 and 1.22, and older versions of Go are no longer getting any bug or security fixes, so advertise that we only support Go 1.21 or later via go.mod. While here, ensure the module is tidy and resolve deprecation warnings, and remove now-unnecessary Go version build tags. * replace sort.Slice with slices.SortFunc The latter is more efficient, and allocates less, since sort.Slice needs to go through sort.Interface which causes allocations. goos: linux goarch: amd64 pkg: github.com/pelletier/go-toml/v2/benchmark cpu: AMD Ryzen 7 PRO 5850U with Radeon Graphics │ old │ new │ │ sec/op │ sec/op vs base │ Marshal/HugoFrontMatter-8 7.612µ ± 1% 6.730µ ± 1% -11.59% (p=0.002 n=6) │ old │ new │ │ B/s │ B/s vs base │ Marshal/HugoFrontMatter-8 65.52Mi ± 1% 74.11Mi ± 1% +13.11% (p=0.002 n=6) │ old │ new │ │ B/op │ B/op vs base │ Marshal/HugoFrontMatter-8 5.672Ki ± 0% 5.266Ki ± 0% -7.16% (p=0.002 n=6) │ old │ new │ │ allocs/op │ allocs/op vs base │ Marshal/HugoFrontMatter-8 85.00 ± 0% 73.00 ± 0% -14.12% (p=0.002 n=6)
Configuration menu - View commit details
-
Copy full SHA for 9b890cf - Browse repository at this point
Copy the full SHA 9b890cfView commit details -
allocate unstable.Parser as part of decoder (#953)
This way, calls to Unmarshal or Decoder.Decode allocate once at the start rather than twice. │ old │ new │ │ allocs/op │ allocs/op vs base │ Unmarshal/HugoFrontMatter-8 141.0 ± 0% 140.0 ± 0% -0.71% (p=0.002 n=6)
Configuration menu - View commit details
-
Copy full SHA for bccd6e4 - Browse repository at this point
Copy the full SHA bccd6e4View commit details
Commits on Aug 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0977c05 - Browse repository at this point
Copy the full SHA 0977c05View commit details -
Allow int, uint, and floats as map keys (#958)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Configuration menu - View commit details
-
Copy full SHA for d553047 - Browse repository at this point
Copy the full SHA d553047View commit details -
Configuration menu - View commit details
-
Copy full SHA for be6c57b - Browse repository at this point
Copy the full SHA be6c57bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a437caa - Browse repository at this point
Copy the full SHA a437caaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b730b2b - Browse repository at this point
Copy the full SHA b730b2bView commit details
There are no files selected for viewing