utopia-rise / godot-kotlin-native

Kotlin bindings for Godot Engine
MIT License
290 stars 16 forks source link

Fix performance regression with camelToSnakeCase #233

Closed raniejade closed 4 years ago

raniejade commented 4 years ago

Noticed a big performance due to camelToSnakeCase, due to how delegates work the delegate provider is called when an object is initialized - this means that every for every new object we call camelToSnakeCase n times, n being the number of signal the object has.