Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/memfd:/jit-cache (deleted) #109

Open
zhairui opened this issue Aug 31, 2022 · 5 comments
Open

/memfd:/jit-cache (deleted) #109

zhairui opened this issue Aug 31, 2022 · 5 comments

Comments

@zhairui
Copy link

zhairui commented Aug 31, 2022

image

如图,加载了RN 列表,滑动过程中,发生异常,导致应用直接崩溃,请问有啥修复的办法吗?

SDK 版本:4.3.4
plugin 版本: 3.2.5

@dengshiwei
Copy link
Contributor

@zhairui 你可以升级一下最新版本试试,后面新版本做了一些优化

@zhairui
Copy link
Author

zhairui commented Aug 31, 2022

@zhairui 你可以升级一下最新版本试试,后面新版本做了一些优化

你好,感谢回复,可否问下是什么原因导致的吗?

@dengshiwei
Copy link
Contributor

因为 RN 的页面结构相对于原生嵌套比较多,而 SDK 中一些属性需要依赖页面结构去获取,这样就造成大量的遍历 ViewTree,所以会耗时较多。后面通过引入缓存进行过优化。

@zhairui
Copy link
Author

zhairui commented Aug 31, 2022

那没用缓存的方式,会造成这种崩溃吗?

@dengshiwei
Copy link
Contributor

@zhairui 你的问题解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants