【汉化】YEP194-Optimize Script Calls

Introduction

Script Calls, whether they're for setting variables, conditional branches, or actual script calls themselves, can run into performance issues when a lot of them are ran in succession. This plugin will optimize script call usage found inside common events and make them dedicated functions instead for better performance.

脚本调用,无论是用于设置变量、条件分支,还是实际的脚本调用本身,在连续运行许多脚本调用时,都会遇到性能问题。此插件将优化常见事件中的脚本调用使用,并使它们成为专用函数,以获得更好的性能。

This is only done for Common Events, as with Map Events and Troop Events, the event list would be generated on the spot and not something that will continue to be stored in cache the moment the player leaves the map or ends the battle. This also doesn't apply to Move Route script calls to maintain compatibility with Move Route Core.

这只适用于常见事件,如地图事件和部队事件,事件列表将在现场生成,而不是在玩家离开地图或结束战斗时继续存储在缓存中的内容。这也不适用于移动路由脚本调用以保持与移动路由核心的兼容性。

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,430评论 0 10
  • Lua 5.1 参考手册 by Roberto Ierusalimschy, Luiz Henrique de F...
    苏黎九歌阅读 13,889评论 0 38
  • 蒋延黻(fu) 著 内容与教科书差不多,就是观点不一样。 不是他国恶毒,而是自己的无知,在条约和制度等社会文明可以...
    知识分享阅读 328评论 0 0
  • 今天的时间都是相对大块的,早晨收拾卫生,然后准备明天下午的汇报材料,下午去看单位组织的红色电影。相对来说,电影还算...
    大梦斋阅读 178评论 0 1
  • 格列佛离开拉普塔,因为看过了这个岛上所有稀奇古怪的东西之后,打心眼里厌烦这儿的人。他用功学习,了解了不少关于...
    杨楚楚阅读 854评论 0 0