Naive performance test of doing type assertion using:
- The static way
or...
- Using reflection to avoid code repetition
BenchmarkAppendNativeTypeAssertion 5000000 666 ns/op
BenchmarkAppendReflectionTypeAssertion 5000000 529 ns/op
- Dan Kortschak <[email protected]>
- Dmitry Vyukov <[email protected]>
- Xingtao Zhao <[email protected]>
- Egon <[email protected]>
- Chris Dollin <[email protected]>