OpenXRay/xray-16

Lua scripts optimizations

Offen

#919 geöffnet am 29.11.2021

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (519 Forks)auto 404
Help wantedLuaPerformancePlayer ExperienceThink / consider in the future

Repository-Metriken

Stars
 (3.524 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

  • 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.

Contributor Guide