3 ms·
That's the BenchmarkFoundErrorsIsNilCheck variation, and it eliminates the performance penalty on the happy path. Still just as bad on the error path.
by zachmu 2y ago
That's the BenchmarkFoundErrorsIsNilCheck variation, and it eliminates the performance penalty on the happy path. Still just as bad on the error path.
- jay-barronville 2y agoMy apologies! I missed that you covered that variation too. (Good to know it works as I expected though!)