ShadowApex / godot-go

Go language bindings for the Godot Engine's GDNative API.
MIT License
363 stars 31 forks source link

Look into using maps instead of case/switch #7

Open ShadowApex opened 7 years ago

ShadowApex commented 7 years ago

For converting types using case/switch, it might be more optimal to use a map of conversion functions instead of case/switch.

ShadowApex commented 6 years ago

This has been implemented for some conversion functions. There are still some other places we might be able to do this in.