Skip to content

Replace long ifs with switch/cases

Marco Trevisan requested to merge 3v1n0/gjs:more-switches into master

While compilers may optimize those anyways, it's always better to give it an hint that to use an index table in case, other than than, it makes the code cleaner to read and easier to maintain.

Merge request reports