You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/util
James Tucker d0f3fa7d7e util/fastuuid: add a more efficient uuid generator
This still generates github.com/google/uuid UUID objects, but does so
using a ChaCha8 CSPRNG from the stdlib rand/v2 package. The public API
is backed by a sync.Pool to provide good performance in highly
concurrent operation.

Under high load the read API produces a lot of extra garbage and
overhead by way of temporaries and syscalls. This implementation reduces
both to minimal levels, and avoids any long held global lock by
utilizing sync.Pool.

Updates tailscale/corp#18266
Updates tailscale/corp#19054

Signed-off-by: James Tucker <james@tailscale.com>
7 months ago
..
cache util/cache: fix missing interface methods (#11275) 8 months ago
cibuild
clientmetric
cloudenv util/cloudenv: add support for DigitalOcean 9 months ago
cmpver util/cmpver: add Less/LessEq helper funcs 8 months ago
codegen
cstruct
ctxkey
deephash all: use reflect.TypeFor now available in Go 1.22 (#11078) 9 months ago
dirwalk
dnsname
execqueue
expvarx
fastuuid util/fastuuid: add a more efficient uuid generator 7 months ago
goroutines
groupmember
hashx
httphdr util/httphdr: add new package for parsing HTTP headers (#9797) 1 year ago
httpm
jsonutil
limiter
lineread
linuxfw cmd/tailscaled: move cleanup to an implicit action during startup 7 months ago
lru util/lru: update c.head when deleting the most recently used entry 1 year ago
mak various: add golangci-lint, fix issues (#7905) 2 years ago
multierr
must
nocasemaps
osdiag
osshare
osuser
pidowner all: update copyright and license headers 2 years ago
precompress
progresstracking ipn/localapi: add support for multipart POST to file-put 7 months ago
quarantine
race
racebuild
rands util/rands: add Shuffle and Perm functions with on-stack RNG state 9 months ago
reload util/reload: add new package to handle periodic value loading 8 months ago
ringbuffer wgengine/magicsock: don't use endpoint debug ringbuffer on mobile. 7 months ago
set
singleflight
slicesx
syspolicy util/syspolicy: add 'ResetToDefaults' (#11194) 8 months ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 2 years ago
systemd all: update copyright and license headers 2 years ago
testenv util/testenv: add new package to hold InTest 1 year ago
topk util/topk: add package containing a probabilistic top-K tracker 9 months ago
truncate util/truncate: support []byte as well (#11614) 7 months ago
uniq
vizerror util/vizerror: add As function to get wrapped Error 2 years ago
winutil util/winutil/winenv: add package for current Windows environment details 7 months ago
zstdframe util/zstdframe: support specifying a MaxWindowSize (#11595) 7 months ago