greatroar
|
c892c0bab9
|
internal/restic: Don't allocate in Tree.Insert
name old time/op new time/op delta
BuildTree-8 34.6µs ± 4% 7.0µs ± 3% -79.68% (p=0.000 n=18+19)
name old alloc/op new alloc/op delta
BuildTree-8 34.0kB ± 0% 0.9kB ± 0% -97.37% (p=0.000 n=20+20)
name old allocs/op new allocs/op delta
BuildTree-8 108 ± 0% 1 ± 0% -99.07% (p=0.000 n=20+20)
|
2021-09-26 18:08:48 +02:00 |
Alexander Neumann
|
3c753c071c
|
errcheck: More error handling
|
2021-01-30 20:02:37 +01:00 |
Michael Eischer
|
efbb850d92
|
Remove a few redundant type specifiers
This is the result of running `gofmt -s -w **/*.go`
|
2020-10-06 14:55:13 +02:00 |
Michael Eischer
|
1ede018ea6
|
error variable names should start with 'Err'
|
2020-09-05 10:07:17 +02:00 |
Michael Eischer
|
460e2ffbf6
|
Collapse a few boolean operations
|
2020-09-05 10:07:14 +02:00 |
Michael Eischer
|
a178e5628e
|
Remove duplicate TreeLoader interface
|
2020-08-01 12:29:16 +02:00 |
Alexander Neumann
|
15ad0e5bc7
|
walk: Pass parent tree ID to WalkFunc
|
2018-08-19 23:28:04 +02:00 |
Mikael Berthe
|
1f27d17c0d
|
walker.Walk: Pass parent tree-id to WalkFunc
|
2018-08-19 23:28:04 +02:00 |
Alexander Neumann
|
c2c06ae2c9
|
walker: Don't ignore empty trees by default
Closes #1849
|
2018-06-17 09:49:03 +02:00 |
Alexander Neumann
|
8f26fe271c
|
ls: Use walker for ls
|
2018-06-09 23:35:20 +02:00 |
Alexander Neumann
|
3a86f4852b
|
Add walker for trees in the repo
|
2018-06-09 23:35:20 +02:00 |