Mario Zechner on Nostr: GDExtensions wraps all C++ classes exposed to GDScript in another set of C++ classes, ...
GDExtensions wraps all C++ classes exposed to GDScript in another set of C++ classes, which then call through the actual implementations like this.
On every method call a new StringName object is constructed. The constructor hashes the string and does a bunch of other stuff.
:(
Published at
2024-10-09 10:52:21Event JSON
{
"id": "c072dfd441d09d4b05b497914f233970ad75fdff42ec3b7b41022674c64f9d8c",
"pubkey": "be81b496ea025894275a88346ffbf7d217a8886f108185e401387647eff089b4",
"created_at": 1728471141,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/users/badlogic/statuses/113277084715838698",
"activitypub"
]
],
"content": "GDExtensions wraps all C++ classes exposed to GDScript in another set of C++ classes, which then call through the actual implementations like this.\n\nOn every method call a new StringName object is constructed. The constructor hashes the string and does a bunch of other stuff.\n\n:(\n\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/113/277/081/114/398/372/original/bf14c0776abf6e01.png",
"sig": "aa73f724b84a980312382d36de73778e579dcc1b894c99b2b3d77775efdfbb8db71bc9b032d5ce51ad70e92613baf2ba4619dece8c2eeed0f443bd76a808ddae"
}