ZString
ZString copied to clipboard
Zero Allocation StringBuilder for .NET and Unity.
see this benchmark.ZString.Join is more slow and no power in memory? ``` ini BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19043.1766 (21H1/May2021Update) AMD Ryzen 9 5900X, 1 CPU, 24 logical and 12 physical cores .NET...
I've run some tests and `TMP_Text.SetCharArray` allocates too much. **Environment:** - Unity 2021.3.5f1 - API level: .NET Standard 2.1 - Use Incremental GC: on - TextMeshPro 3.0.6 - CPU: Intel(R)...
Some of my projects dont use TMP, and zstring has a reference to TMP components. Is there a way this dependance can be omitted depending on whether TMP is actually...
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...
Error CS0433 : 类型“BitOperations”同时存在于“ZString, Version=2.5.1.0, Culture=neutral, PublicKeyToken=df4c250b14d82627”和“System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”中
# Unittest failed I ran the unit tests on my local mac and found 2 errors My enviroment: ``` > dotnet --info .NET SDK: Version: 7.0.404 Commit: 22f221a24c 运行时环境: OS...
 Here's a profiler image of the issue. We are essentially just appending floating point numbers (part of a vector) - we're using unity 2022.3.11f1 is this expected behaviour? is...
I was using StringBuilder, and just converted to using this: [MikePopoloski/StringFormatter](https://github.com/MikePopoloski/StringFormatter) The project is dead, but it does work. I had to jiggle a few things to fully match the...
Setting `Length` works great to trim a `StringBuilder` (like, "remove last N chars" without allocation) Also, would really help with drop-in replacements for traditional SB (it supports this)
In order to reduce the volume of code drift needed to onboard `ZeroString` from .NET stock `StringBuilder` an indexer is added. The newly added API is protected via safety harness...