pasbi/ommpfritt

Regex could be compiled in maincli

开放

#155 创建于 2020年12月19日

 (0 条评论) (0 个反应) (0 位负责人)C++ (7 个派生)auto 404
good first issueperformance

仓库指标

星标
 (46 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

The predicate function is called very often (once for every object in the scene). The same regular expressions are created inside that function every time. Consider to compile the regular expressions outside and capture the regex object instead.

贡献者指南