diff -r cfc956f13ce2 Modules/_json.c --- a/Modules/_json.c Tue Nov 15 15:13:40 2016 +0100 +++ b/Modules/_json.c Tue Nov 15 15:17:08 2016 +0100 @@ -394,7 +394,7 @@ static PyObject * Py_CLEAR(chunk); \ } -static PyObject * +static PyObject* _Py_HOT_FUNCTION scanstring_unicode(PyObject *pystr, Py_ssize_t end, int strict, Py_ssize_t *next_end_ptr) { /* Read the JSON string from PyUnicode pystr. diff -r cfc956f13ce2 Modules/sre_lib.h --- a/Modules/sre_lib.h Tue Nov 15 15:13:40 2016 +0100 +++ b/Modules/sre_lib.h Tue Nov 15 15:17:08 2016 +0100 @@ -501,7 +501,7 @@ typedef struct { /* check if string matches the given pattern. returns <0 for error, 0 for failure, and 1 for success */ -LOCAL(Py_ssize_t) +LOCAL(Py_ssize_t) _Py_HOT_FUNCTION SRE(match)(SRE_STATE* state, SRE_CODE* pattern, int match_all) { SRE_CHAR* end = (SRE_CHAR *)state->end; diff -r cfc956f13ce2 Objects/abstract.c --- a/Objects/abstract.c Tue Nov 15 15:13:40 2016 +0100 +++ b/Objects/abstract.c Tue Nov 15 15:17:08 2016 +0100 @@ -1251,7 +1251,7 @@ PyNumber_Index(PyObject *item) /* Return an error on Overflow only if err is not NULL*/ -Py_ssize_t +Py_ssize_t _Py_HOT_FUNCTION PyNumber_AsSsize_t(PyObject *item, PyObject *err) { Py_ssize_t result; diff -r cfc956f13ce2 Objects/unicodeobject.c --- a/Objects/unicodeobject.c Tue Nov 15 15:13:40 2016 +0100 +++ b/Objects/unicodeobject.c Tue Nov 15 15:17:08 2016 +0100 @@ -2152,7 +2152,7 @@ align_maxchar(Py_UCS4 maxchar) return MAX_UNICODE; } -static PyObject* +static PyObject* _Py_HOT_FUNCTION _PyUnicode_FromUCS1(const Py_UCS1* u, Py_ssize_t size) { PyObject *res; diff -r cfc956f13ce2 Python/pyhash.c --- a/Python/pyhash.c Tue Nov 15 15:13:40 2016 +0100 +++ b/Python/pyhash.c Tue Nov 15 15:17:08 2016 +0100 @@ -364,7 +364,7 @@ static PyHash_FuncDef PyHash_Func = {fnv HALF_ROUND(v2,v1,v0,v3,17,21); -static Py_hash_t +static Py_hash_t _Py_HOT_FUNCTION siphash24(const void *src, Py_ssize_t src_sz) { uint64_t k0 = _le64toh(_Py_HashSecret.siphash.k0); uint64_t k1 = _le64toh(_Py_HashSecret.siphash.k1);