From 6d6aa01c377e0727f689a523d782cc3ada8be72d Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Wed, 14 Dec 2022 16:52:46 +0000 Subject: [PATCH] Rename 'type cache' to 'method cache' in stats output. --- Python/specialize.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Python/specialize.c b/Python/specialize.c index 755213e19a2163..73c0446743c774 100644 --- a/Python/specialize.c +++ b/Python/specialize.c @@ -187,11 +187,11 @@ print_object_stats(FILE *out, ObjectStats *stats) fprintf(out, "Object materialize dict (new key): %" PRIu64 "\n", stats->dict_materialized_new_key); fprintf(out, "Object materialize dict (too big): %" PRIu64 "\n", stats->dict_materialized_too_big); fprintf(out, "Object materialize dict (str subclass): %" PRIu64 "\n", stats->dict_materialized_str_subclass); - fprintf(out, "Object type cache hits: %" PRIu64 "\n", stats->type_cache_hits); - fprintf(out, "Object type cache misses: %" PRIu64 "\n", stats->type_cache_misses); - fprintf(out, "Object type cache collisions: %" PRIu64 "\n", stats->type_cache_collisions); - fprintf(out, "Object type cache dunder hits: %" PRIu64 "\n", stats->type_cache_dunder_hits); - fprintf(out, "Object type cache dunder misses: %" PRIu64 "\n", stats->type_cache_dunder_misses); + fprintf(out, "Object method cache hits: %" PRIu64 "\n", stats->type_cache_hits); + fprintf(out, "Object method cache misses: %" PRIu64 "\n", stats->type_cache_misses); + fprintf(out, "Object method cache collisions: %" PRIu64 "\n", stats->type_cache_collisions); + fprintf(out, "Object method cache dunder hits: %" PRIu64 "\n", stats->type_cache_dunder_hits); + fprintf(out, "Object method cache dunder misses: %" PRIu64 "\n", stats->type_cache_dunder_misses); } static void