• K
    Perf: cache metrics id and entity id (#7201) · f5b7c3e3
    kezhenxu94 提交于
    There are a lot of calls to `Metrics.id()` and `ISource.getEntityId`, which calculates the id by manipulating strings in every single call, producing many garbage objects.
    
    In this patch, I cache the id and only calculate the id if it's requested for the first time.
    f5b7c3e3
可在Tags中查看这些版本中当前仓库的状态.
CHANGES.md 3.4 KB