This repository was archived by the owner on Jun 30, 2022. It is now read-only.
Commit a44f1e2
Avoid calling logging.debug on every element
This call can be quite expensive, even if logging is disabled.
Instead, gate this on a boolean set at start().
This is slightly less flexible as debug logging cannot be
dynamically toggled for these log messages between bundles.
----Release Notes----
Performance improvements.
[]
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=1178548981 parent 5cfe9a5 commit a44f1e2
3 files changed
Lines changed: 149 additions & 103 deletions
0 commit comments