so you can see repeated code inside switch
but in this case you would need to assign every time? also, since this looks like a potential hotspot I would prefer not to use function pointers.
olli
Roshan
Sergey
Xudoyberdi
Mar!o
Низами
Junaid
beluga_hz
Alex