diff options
author | Marcelina KoĆcielnicka <mwk@0x04.net> | 2022-07-27 16:15:11 +0200 |
---|---|---|
committer | Marcelina KoĆcielnicka <mwk@0x04.net> | 2022-07-27 17:05:30 +0200 |
commit | a6819042378d6b211f2e9c5a24fafb01fbde2bec (patch) | |
tree | 6ca1e7447a6688daf38cc61f91dbff1a739b7d2f /kernel/log.cc | |
parent | 6ba48515b5d0bf9568bb1312e23ea596acd7a501 (diff) | |
download | yosys-a6819042378d6b211f2e9c5a24fafb01fbde2bec.tar.gz yosys-a6819042378d6b211f2e9c5a24fafb01fbde2bec.tar.bz2 yosys-a6819042378d6b211f2e9c5a24fafb01fbde2bec.zip |
Assorted microoptimization speedups in core data structures.
Diffstat (limited to 'kernel/log.cc')
-rw-r--r-- | kernel/log.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/log.cc b/kernel/log.cc index 4bcce3b28..4403dd0c7 100644 --- a/kernel/log.cc +++ b/kernel/log.cc @@ -627,7 +627,7 @@ const char *log_const(const RTLIL::Const &value, bool autoint) } } -const char *log_id(RTLIL::IdString str) +const char *log_id(const RTLIL::IdString &str) { log_id_cache.push_back(strdup(str.c_str())); const char *p = log_id_cache.back(); |