添加一个tmp文本组件的扩展方法,缓解更新文本的gc #45
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
在通过常规的文本更新时,tmp_text会产生gc。如果界面文本组件数量多的话,对性能不好。
比如同时更新文本,而每更新一次就要产生一次gc。
建议写个方法直接传入stringbuilder或字节码规避