OpenXRay/xray-16

Lua scripts optimizations

开放

#919 创建于 2021年11月29日

 (3 条评论) (0 个反应) (0 位负责人)C++ (519 个派生)auto 404
Help wantedLuaPerformancePlayer ExperienceThink / consider in the future

仓库指标

星标
 (3,524 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

  • xr_logic.script: parse_condlist – very unoptimized function: cycle with regexp in cycle with regexp in cycle with regexp. (mama, za chto...)
    • This is the first script we should port to C++. (#782)
  • bind_anomaly_zone.script: update function does nothing, just remove. Saves ~1 ms per frame.
  • Sounds loading when NPC switches to online.
  • blowout: cycle in cycle in cycle, really slow. Also kills you, despite the fact that you have godmode mode enabled.

贡献者指南