(repo): update ownership and benchmarks
This commit is contained in:
parent
999d8735b5
commit
8bee0afdc7
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2021 prequist
|
Copyright (c) 2022 Bella Fusari (bfu)
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
19
README.md
19
README.md
@ -119,26 +119,25 @@ func MakeAndConvert() []int {
|
|||||||
These are probably a bit bloat over time, however, they're not horrendous (compared to other)
|
These are probably a bit bloat over time, however, they're not horrendous (compared to other)
|
||||||
implementations.
|
implementations.
|
||||||
|
|
||||||
On Mac OSX (Monterey, M1)
|
On Mac OSX (Big Sur, M1)
|
||||||
|
|
||||||
### map_test.go
|
### map_test.go
|
||||||
|
|
||||||
```
|
```
|
||||||
goos: darwin
|
goos: darwin
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
pkg: github.com/prequist/gomap
|
pkg: git.tcp.direct/bfu/gomap
|
||||||
BenchmarkPlain-8 12474228 100.0 ns/op
|
BenchmarkPlain-8 5423301 221.0 ns/op
|
||||||
BenchmarkBox-8 759380 1523 ns/op
|
BenchmarkBox-8 937978 1240 ns/op
|
||||||
BenchmarkString-8 4029303 277.8 ns/op
|
BenchmarkString-8 3070027 394.6 ns/op
|
||||||
BenchmarkBoxedString-8 782708 1501 ns/op
|
BenchmarkBoxedString-8 762390 1489 ns/op
|
||||||
BenchmarkAdd-8 17820822 94.33 ns/op
|
BenchmarkAdd-8 27079604 52.38 ns/op
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### iterator_test.go
|
### iterator_test.go
|
||||||
|
|
||||||
```
|
```
|
||||||
BenchmarkIteratorNext-8 1000000000 0.5661 ns/op
|
BenchmarkIteratorNext-8 1000000000 0.7843 ns/op
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -147,5 +146,5 @@ BenchmarkIteratorNext-8 1000000000 0.5661 ns/op
|
|||||||
```
|
```
|
||||||
BenchmarkFilter
|
BenchmarkFilter
|
||||||
BenchmarkFilter/Filter
|
BenchmarkFilter/Filter
|
||||||
BenchmarkFilter/Filter-8 1000000000 0.0000009 ns/op
|
BenchmarkFilter/Filter-8 1000000000 0.0000008 ns/op
|
||||||
```
|
```
|
@ -1,7 +1,7 @@
|
|||||||
package gomap_test
|
package gomap_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/prequist/gomap"
|
"git.tcp.direct/bfu/gomap"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package gomap_test
|
package gomap_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/prequist/gomap"
|
"git.tcp.direct/bfu/gomap"
|
||||||
"github.com/prequist/ptypes"
|
"github.com/prequist/ptypes"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package gomap_test
|
package gomap_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/prequist/gomap"
|
"git.tcp.direct/bfu/gomap"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user