df03357d19
This makes it easier to consume, without first having to create an empty PoolID. Performance is the same: BenchmarkPoolIDFromString-10 6100345 196.5 ns/op 112 B/op 3 allocs/op BenchmarkPoolIDFromString-10 6252750 192.0 ns/op 112 B/op 3 allocs/op Note that I opted not to change the return-type to a pointer, as that seems to perform less; BenchmarkPoolIDFromString-10 6252750 192.0 ns/op 112 B/op 3 allocs/op BenchmarkPoolIDFromString-10 5288682 226.6 ns/op 192 B/op 4 allocs/op Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
allocator.go | ||
allocator_test.go | ||
parallel_test.go | ||
structures.go | ||
utils.go |