pgbench: replace run-time string comparisons with an enum identifier.
Tom Lane <tgl@sss.pgh.pa.us>
pgbench: replace run-time string comparisons with an enum identifier. Minor refactoring that should yield some performance benefit. Fabien Coelho, reviewed by Aleksandr Parfenov Discussion: https://postgr.es/m/alpine.DEB.2.20.1709230538130.4999@lancre
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pgbench/pgbench.c | modified | +51 −11 |
Discussion
- pgbench - use enum for meta commands 8 messages · 2017-09-23 → 2017-11-03