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

提升instanceIndex、newInstanceIndex、classIndex三个方法的性能 #436

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ShuraLiu
Copy link
Contributor

@ShuraLiu ShuraLiu commented Feb 1, 2021

通过增加几个Cache来减少对UClass的Property和Function的查询次数,提升instanceIndex、newInstanceIndex、classIndex三个方法的性能。不过不是很确定这样改是否符合之前这几个方法的预期。

@RPG3D
Copy link
Contributor

RPG3D commented Jun 21, 2021

UClass里面的Function是用TMap<FName, UFunction*>保存, FName比起FString要快很多.

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

Successfully merging this pull request may close these issues.

None yet

2 participants