mirror of
https://github.com/monero-project/monero.git
synced 2025-12-22 15:16:40 -08:00
Merge pull request #4769
5808530fblockchain: remove unused output_scan_worker parameter (moneromooo-monero)1426209ablockchain: don't run threads if we have just one function to run (moneromooo-monero)6f7a5fd4db_lmdb: slight speedup getting array data from the blockchain (moneromooo-monero)99fbe100db_lmdb: save some string copies for readonly db keys/values (moneromooo-monero)bf31447etx_pool: speed up take_tx for transactions from blocks (moneromooo-monero)4f005a77tx_pool: remove unnecessary get_transaction_hash (moneromooo-monero)593ef598perf_timer: call reserve on new timer array (moneromooo-monero)6ecc99adcore: avoid unnecessary tx/blob conversions (moneromooo-monero)00cc1a16unit_tests: notify test special case for the usual weirdo (moneromooo-monero)
This commit is contained in:
@@ -110,6 +110,7 @@ LoggingPerformanceTimer::LoggingPerformanceTimer(const std::string &s, const std
|
||||
{
|
||||
MCLOG(level, cat.c_str(), "PERF ----------");
|
||||
performance_timers = new std::vector<LoggingPerformanceTimer*>();
|
||||
performance_timers->reserve(16); // how deep before realloc
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user