fit: remove debugging remnant
Fixes go-hep/hep#1024.
Signed-off-by: Sebastien Binet <binet@cern.ch>
all: bump golang.org/x deps
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot/riofs: drop mmap-ing ROOT files by default, add file+mmap:// convenience protocol
Fixes #1019.
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot/riofs: align default compression settings w/ ROOT
groot was using flate.BestCompression (zlib and level=9) whereas
ROOT/C++ is using flate.BestSpeed (zlib and level=1).
This CL configures groot to use flate.DefaultCompression (and zlib).
On "typical" payloads this amounts to:
```
$> time ./new-dbg -zip=zlib-1 -o groot-zlib-1.root
real 0m9.469s
user 0m8.644s
sys 0m0.872s
$> time ./new-dbg -zip=zlib-6 -o groot-zlib-6.root
real 0m10.832s
user 0m10.422s
sys 0m0.972s
$> time ./new-dbg -zip=zlib-9 -o groot-zlib-9.root (go-hep@v0.35 default)
real 0m32.415s
user 0m32.550s
sys 0m1.086s
```
and for the disk sizes:
```
$> ll
total 510M
87M Nov 12 15:19 groot-zlib-1.root
77M Nov 12 15:18 groot-zlib-6.root
67M Nov 12 15:19 groot-zlib-9.root (go-hep@v0.35 default)
```
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot/internal/rcompress: make Kind implement fmt.Stringer
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot/{internal/rcompress,riofs,rtree}: expose API to customize key-compression
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot/rdict: drop deprecated reflect.PtrTo in favor of reflect.PointerTo
Signed-off-by: Sebastien Binet <binet@cern.ch>
all: bump Go-1.23, drop Go-1.21
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot/{rhist,rjson}: implement TGraph-v5
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot: bump to ROOT-6.32.00
Signed-off-by: Sebastien Binet <binet@cern.ch>
all: adapt tests and floating-point precision for Mac-Silicon
This CL adapts a few tests for Apple Silicon floating point operations.
Signed-off-by: Sebastien Binet <binet@cern.ch>
all: bump sbinet/epok, klauspost/compress, ulikunitz/xz and x/{mod,net,sync,sys,tools}
Signed-off-by: Sebastien Binet <binet@cern.ch>
rtypes: test empty typename panics
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot: add handling of top-level key with string payload
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot: streamline unsafeDecay{,Slice}Array
Signed-off-by: Sebastien Binet <binet@cern.ch>
groot: drop use of reflect.SliceHeader in favor of unsafe.Slice
Signed-off-by: Sebastien Binet <binet@cern.ch>