mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 01:20:39 +00:00
This produces more compact code and avoids the anti-pattern of building a map with statically known values. If the values are given to GCC via a switch statement it can do a much better job at compile time than libstdc++ can at runtime. Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com> Message-Id: <20200422224905.198794-1-espindola@scylladb.com>