Skip to content

Commit 6d6aa01

Browse files
committed
Rename 'type cache' to 'method cache' in stats output.
1 parent 67fc05f commit 6d6aa01

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Python/specialize.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ print_object_stats(FILE *out, ObjectStats *stats)
187187
fprintf(out, "Object materialize dict (new key): %" PRIu64 "\n", stats->dict_materialized_new_key);
188188
fprintf(out, "Object materialize dict (too big): %" PRIu64 "\n", stats->dict_materialized_too_big);
189189
fprintf(out, "Object materialize dict (str subclass): %" PRIu64 "\n", stats->dict_materialized_str_subclass);
190-
fprintf(out, "Object type cache hits: %" PRIu64 "\n", stats->type_cache_hits);
191-
fprintf(out, "Object type cache misses: %" PRIu64 "\n", stats->type_cache_misses);
192-
fprintf(out, "Object type cache collisions: %" PRIu64 "\n", stats->type_cache_collisions);
193-
fprintf(out, "Object type cache dunder hits: %" PRIu64 "\n", stats->type_cache_dunder_hits);
194-
fprintf(out, "Object type cache dunder misses: %" PRIu64 "\n", stats->type_cache_dunder_misses);
190+
fprintf(out, "Object method cache hits: %" PRIu64 "\n", stats->type_cache_hits);
191+
fprintf(out, "Object method cache misses: %" PRIu64 "\n", stats->type_cache_misses);
192+
fprintf(out, "Object method cache collisions: %" PRIu64 "\n", stats->type_cache_collisions);
193+
fprintf(out, "Object method cache dunder hits: %" PRIu64 "\n", stats->type_cache_dunder_hits);
194+
fprintf(out, "Object method cache dunder misses: %" PRIu64 "\n", stats->type_cache_dunder_misses);
195195
}
196196

197197
static void

0 commit comments

Comments
 (0)