Skip to content

Commit

Permalink
更新文档,支持2023.2.0a20
Browse files Browse the repository at this point in the history
  • Loading branch information
walon committed Jun 29, 2023
1 parent 2ab8ffb commit 8194526
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/basic/aotgeneric.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public class AOTGenericReferences : UnityEngine.MonoBehaviour

HybridCLR支持`full genric sharing`后,不再需要补充元数据,简化了工作流,以原生方式运行AOT泛型,性能大幅提升,彻底解决了补充元数据的以上缺点。

自2021.3.x LTS版本起,il2cpp已经完全支持`完全泛型共享(full generic sharing)`技术,当 Build Settings中 `Il2Cpp Code Generation` 选项为 `faster runtime` 时为之前章节介绍的泛型共享机制,为 `faster(smaller) build` 时开启
自2021.3.x LTS版本起,il2cpp已经完全支持`完全泛型共享(full generic sharing`技术,当 Build Settings中 `Il2Cpp Code Generation` 选项为 `faster runtime` 时为之前章节介绍的泛型共享机制,为 `faster(smaller) build` 时开启
`full generic sharing` 机制。`full generic sharing`技术可以克服传统的il2cpp的值类型泛型无法共享的缺陷,泛型函数的所有泛型实例(无论泛型参数是值类型还是class类型)完全共享一份代码。

自2022.3.x版本起,即使Build Settings中使用`faster runtime`选项也会开启`full generic sharing`机制,使用`faster(smaller) build`选项则迫使同个函数的所有泛型共享都使用一份代码。
Expand Down
2 changes: 1 addition & 1 deletion docs/basic/supportedplatformanduniyversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ HybridCLR已经稳定支持了2019.4.x、2020.3.x、2021.3.x、2022.3.x 系列LT

### 微信小游戏

微信小游戏转换工具,默认会将IL2CPP Code Generation设置为Faster(Smaller) builds模式,如果未补充元数据,会导致无法访问AOT泛型函数。由于 Faster(smaller) 模式会严重伤害泛型函数的执行性能,即使使用补充元数据,也强烈推荐自己改微信工具源码,将BuildSettings中 `IL2CPP Code Generation` 设置为 `Faster`
微信小游戏转换工具,默认会将IL2CPP Code Generation设置为Faster(Smaller) builds模式,如果未补充元数据,会导致无法访问AOT泛型函数。

### MiniGame

Expand Down
1 change: 1 addition & 0 deletions docs/other/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

此文档只记录关键性事件,更具体的发布日志请看 [RELEASELOG](https://github.com/focus-creative-games/hybridclr_unity/blob/main/RELEASELOG.md)

- 2023.06.29 支持2023.2.0a20版本
- 2023.05.21 发布v3.0.0,正式支持 2022.3.0
- 2023.05.19 更新到Unity最新LTS版本 2020.3.48及2021.3.25。已经完成最后一个2020LTS版本支持。
- 2023.04.26 更新到Unity最新LTS版本 2020.3.47及2021.3.23
Expand Down

0 comments on commit 8194526

Please sign in to comment.