From 5011e20c2eafef5fb7387659aca54d3d42f2a7e2 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 22 Apr 2021 12:18:20 -0700 Subject: [PATCH] ircd::json: Attribute aadditional known hot functions. --- ircd/json.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ircd/json.cc b/ircd/json.cc index afbac240c..1ea809954 100644 --- a/ircd/json.cc +++ b/ircd/json.cc @@ -2795,6 +2795,7 @@ const }); } +[[gnu::hot]] ircd::json::object::const_iterator ircd::json::object::begin() const try @@ -2828,6 +2829,7 @@ catch(const expectation_failure &e) // object::const_iterator // +[[gnu::hot]] ircd::json::object::const_iterator & ircd::json::object::const_iterator::operator++() { @@ -3134,6 +3136,7 @@ const return json::strung(*this); } +[[gnu::hot]] ircd::json::array::const_iterator ircd::json::array::begin() const @@ -3196,6 +3199,7 @@ const // array::const_iterator // +[[gnu::hot]] ircd::json::array::const_iterator & ircd::json::array::const_iterator::operator++() {