jix piks

Results 1 issues of jix piks

我让AI修改源代码以添加原生hashmap 方法,结果它采用的方法是保留插入顺序的哈希映射。功能上和umap完全一样,但性能提高了无数倍。 UMap性能真的很低,我记得之前测试10万次 .has()调用,umap用了15秒,原生map只有3秒。而这个hashmap,比原生map至少快了25%。 不知道 UMap 底层是否可以切换到这个 hashmap 实现。 我提供了AI修改的3个文件以供参考。 [script_h.cpp.txt](https://github.com/user-attachments/files/22749198/script_h.cpp.txt) [script_object.cpp.txt](https://github.com/user-attachments/files/22749199/script_object.cpp.txt) [script_object.h.txt](https://github.com/user-attachments/files/22749185/script_object.h.txt)