3 ms·
Go: Functional Options Are Slow
- metadat 4y agoHow much of program execution time is being spent (or sacrificed) for the "functional" pattern outlined by the OP? I'm stuck trying to reconcile how this micro-optimization could possibly be worthwhile or interesting, considering when configuration isn't typically part of the hot code path.