51 Commits (5a2168da9ef6d7daff8fd0419dbfb6026b02a0ed)

Author SHA1 Message Date
Will Norris 3ec5be3f51 all: remove AUTHORS file and references to it 3 months ago
Adrian Dewhurst b28699cd31 types/views: add min/max helpers to views.Slice 8 months ago
Joe Tsai fbb91758ac
cmd/viewer, types/views: implement support for json/v2 (#16852) 8 months ago
Brad Fitzpatrick 7d5fe13d27 types/views: make SliceEqualAnyOrder also do short slice optimization 1 year ago
Andrew Dunham eb299302ba types/views: fix SliceEqualAnyOrderFunc short optimization 1 year ago
Nick Khyl da9965d51c cmd/viewer,types/views,various: avoid allocations in pointer field getters whenever possible 1 year ago
Andrew Dunham 6ddeae7556 types/views: optimize SliceEqualAnyOrderFunc for small slices 1 year ago
Andrew Dunham 7fa07f3416 types/views: add SliceEqualAnyOrderFunc 1 year ago
Andrew Dunham 9f17260e21 types/views: add MapViewsEqual and MapViewsEqualFunc 1 year ago
Brad Fitzpatrick 4b56bf9039 types/views: remove various Map Range funcs; use iterators everywhere 1 year ago
Brad Fitzpatrick 94c79659fa types/views: add iterators to the three Map view types 2 years ago
Joe Tsai dc86d3589c
types/views: add SliceView.All iterator (#13536) 2 years ago
Brad Fitzpatrick e54c81d1d0 types/views: add Slice.All iterator 2 years ago
Nick Khyl 20562a4fb9 cmd/viewer, types/views, util/codegen: add viewer support for custom container types 2 years ago
Maisem Ali 491483d599 cmd/viewer,type/views: add MapSlice for maps of slices 2 years ago
Maisem Ali 79b2d425cf types/views: move AsMap to Map from *Map 2 years ago
Maisem Ali ed843e643f types/views: add AppendStrings util func 2 years ago
Maisem Ali fd6ba43b97 types/views: remove duplicate SliceContainsFunc 2 years ago
Brad Fitzpatrick c47f9303b0 types/views: use slices.Contains{,Func} 2 years ago
Brad Fitzpatrick 7c1d6e35a5 all: use Go 1.22 range-over-int 2 years ago
James Tucker 7fe4cbbaf3
types/views: optimize slices contains under some conditions (#11449) 2 years ago
Brad Fitzpatrick e1bd7488d0 all: remove LenIter, use Go 1.22 range-over-int instead 2 years ago
Brad Fitzpatrick f7f496025a types/views: add test that LenIter doesn't allocate 2 years ago
Maisem Ali b752bde280 types/views: add SliceMapKey[T] 2 years ago
Brad Fitzpatrick 98b5da47e8 types/views: add SliceContainsFunc like slices.ContainsFunc 3 years ago
Brad Fitzpatrick e7d1538a2d types/views: add SliceEqual, like std slices.Equal 3 years ago
Maisem Ali 2548496cef types/views,cmd/viewer: add ByteSlice[T] to replace mem.RO 3 years ago
Brad Fitzpatrick 6e57dee7eb cmd/viewer, types/views, all: un-special case slice of netip.Prefix 3 years ago
Brad Fitzpatrick 261cc498d3 types/views: add LenIter method to slice view types 3 years ago
Brad Fitzpatrick e8551d6b40 all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 3 years ago
Maisem Ali 2e19790f61 types/views: add JSON marshal/unmarshal and AsMap to Map 3 years ago
Brad Fitzpatrick a2153afeeb types/views: add Slice methods on Slice views 3 years ago
Will Norris 71029cea2d all: update copyright and license headers 3 years ago
Will Norris 3becf82dd3 types/views: add SliceEqualAnyOrder func 3 years ago
Brad Fitzpatrick 1598cd0361 net/tsaddr: remove ContainsFunc helpers (they're now in x/exp/slices) 3 years ago
Maisem Ali 20324eeebc ipn/prefs: add views 4 years ago
Sonia Appasamy 5363a90272 types/view: add ContainsNonExitSubnetRoutes func 4 years ago
Maisem Ali 51c3d74095 types/views: add BenchmarkSliceIteration 4 years ago
Brad Fitzpatrick a12aad6b47 all: convert more code to use net/netip directly 4 years ago
Brad Fitzpatrick 6a396731eb all: use various net/netip parse funcs directly 4 years ago
Brad Fitzpatrick 7eaf5e509f net/netaddr: start migrating to net/netip via new netaddr adapter package 4 years ago
Brad Fitzpatrick 43f3a969ca types/views: add SliceContains, View.ContainsFunc, View.IndexFunc 4 years ago
Maisem Ali 6dae9e47f9 types/views: remove alloc in hot path 4 years ago
Maisem Ali 395cb588b6 types/views: make SliceOf/MapOf panic if they see a pointer 4 years ago
Maisem Ali d04afc697c cmd/viewer,types/views: add support for views of maps 4 years ago
Maisem Ali c4e9739251 cmd/viewer: add codegen tool for Views 4 years ago
Maisem Ali bd073b8dd6 types/views: rename Generic to Unwrap 4 years ago
Maisem Ali 6b9d938c1a types/views: add generic Slice[T] and remove StringSlice 4 years ago
Maisem Ali c85694fac4 types/views: add ContainsExitRoutes to IPPrefixSlice 4 years ago
Maisem Ali c7a8f0992d ipn/ipnlocal: use views for Peer.PrimaryRoutes and Peer.Tags 4 years ago