23 Jul 2024 |
vimsquared | doesn't work either | 12:18:21 |
vimsquared | just turns it white again | 12:20:09 |
| @kyynaama:matrix.noisyf.art left the room. | 15:07:00 |
vimsquared | i tried with a different shader, just a simple test shader | 18:22:46 |
vimsquared | ![image.png](https://matrix.org/_matrix/media/r0/thumbnail/matrix.org/GFIokQorCnkBeSjsnuBZpxib?height=360&method=scale&width=360) Download image.png | 18:22:49 |
vimsquared | and yeah, like the github repo mentioned: works on rects but not arcs | 18:23:13 |
vimsquared | idk how to fix that | 18:23:24 |
24 Jul 2024 |
| hiroshi_mcbride joined the room. | 15:56:44 |
hiroshi_mcbride | 👋 | 15:56:55 |
| luckygun joined the room. | 17:43:46 |
| luckygun set a profile picture. | 19:53:18 |
| skatefrog set a profile picture. | 23:01:38 |
25 Jul 2024 |
| sophia joined the room. | 04:47:53 |
sophia | hello | 04:48:52 |
| sophia changed their display name from 162sophia to sophia. | 05:00:55 |
| ᥫ᭡ 𐑖ミꪜᴵ𝔦 ᥫ᭡ set a profile picture. | 07:54:54 |
| ᥫ᭡ 𐑖ミꪜᴵ𝔦 ᥫ᭡ changed their profile picture. | 22:09:49 |
level | Theoretically speaking: how performant is StringName in GDScript? And by that I mean the performance of a dictionary (or a set?) that holds these strings inside. If that's possible, can someone point me to the source code. | 22:45:32 |
26 Jul 2024 |
bengtsts | level: There's a small discussion about that here. Beyond that you'd probably have to do a benchmark considering your use case. If it helps, I use String with dictionaries a lot and haven't noticed any performance dip. I don't call them every frame though, only for read/write operations because dictionaries work so well with JSON. | 05:56:11 |
| blackcoffeesludge joined the room. | 13:38:15 |
level | As always on reddit, the very first comment is full of bullshit. StringName variables are not pointers, they are different variables. Looks like they use some sort of hashmap internally for them not to create multiple copies of the same string (or just for quick comparison?). | 19:29:46 |
blackcoffeesludge | When it comes to dicts and sets, it's O(n) for lookups | 19:36:09 |
blackcoffeesludge | Average is O(1) | 19:36:45 |
blackcoffeesludge | So it should be relatively fast, I don't know why the value in the containers would affect performance | 19:37:26 |
blackcoffeesludge | https://docs.godotengine.org/en/stable/classes/class_stringname.html | 19:39:17 |
blackcoffeesludge | Just reading the wiki, StringName are just immutable strings with performance improvements | 19:40:01 |
| logabe joined the room. | 22:05:30 |
| slothlike-wookie joined the room. | 22:48:09 |
27 Jul 2024 |
| sophie joined the room. | 04:41:40 |
| sophie changed their display name from sophie1729 to sophie. | 04:48:13 |