Please expose StringBuilder
complete
リノール
I want to make a console panel that display long strings by Udon. That will be useful for player UI and debugging purposes. But adding strings is performance expensive unless I use StringBuilder. Could you expose it for Udon?
Log In
Fax
complete
Thank you for the request!
We just released this feature in SDK 3.7.1.
This post was marked as
available in future release
Momo the Monster
in progress
miner28_3
We really need this, I don't understand how has this been a year and no comment on this. String joining is so bad for performance and when someone requires to joining 1000 strings together for example, StringBuilder seems like necessity.
Balphagore
miner28_3: I agree, I wish we could get more attention on the matter, I've had to deal with just joining strings and deal with the punishment. Do you have a workaround or paradigm on doing these joins yourself?
miner28_3
Balphagore: Uh I've been using char[] and then string.Concat
For my specific usecases excellent.. 100-250x faster
Balphagore
I back this up, please review VRChat. My map and the game will benefit overall with the string builder, as I will be showing announcer messages on the UI, and will also be doing a lot of concats at the end of each match that people will play in my map.