Skip to content

Commit

Permalink
fix: 标点符号处理
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengzhiHuang committed Apr 14, 2024
1 parent 9a5f280 commit 34c85f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Reports/2024/#285-2024.04.15.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

### 🐕 COW Macro Package

[@Kyle-Ye](https://github.com/Kyle-Ye) Swift 的大量标准库内的 struct 出于性能等因素考虑都进行了 Copy On Write(后简称 COW)优化(如 String、Array、Set、Dictionary),但是对于业务自定义的 struct 默认没有此类优化。
[@Kyle-Ye](https://github.com/Kyle-Ye)Swift 的大量标准库内的 struct 出于性能等因素考虑都进行了 Copy On Write(后简称 COW)优化(如 String、Array、Set、Dictionary),但是对于业务自定义的 struct 默认没有此类优化。

因此如果业务定义了一个巨大的 struct,在此 struct 作为参数传递过程中,容易产生较大的包大小并且有一定性能影响。

Expand Down

0 comments on commit 34c85f7

Please sign in to comment.