Cysharp / ZString

Zero Allocation StringBuilder for .NET and Unity.
MIT License
2.04k stars 150 forks source link

Unity 2021.3.2f1 is getting over 1kb of gc collection from zstring #76

Closed SeanMurphy2k17 closed 1 year ago

SeanMurphy2k17 commented 2 years ago

Hello,

I've recently had to update to the unity 2021.3.2f1 and when using ZString.format i'm getting a lot of GC collection calls now. Is this a known issue? Sometimes up to multiple kb of gc. Is this an easy way to fix this?

Thanks, have a good day.

neuecc commented 2 years ago

Thanks for the reporting. Could you provide reproduce code and image of profiling result?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.