Mercurial > cpython-lru_cache-weakref
diff Objects/object.c @ 1356:043da19302ef legacy-trunk
Several optimizations and speed improvements.
cstubs: Use Matrix type instead of float[4][4].
| author | Sjoerd Mullender <sjoerd@acm.org> |
|---|---|
| date | Fri, 22 Oct 1993 12:04:32 +0000 |
| parents | 4d1a15fc4748 |
| children | 7cd533cf194a |
line wrap: on
line diff
--- a/Objects/object.c Mon Oct 18 17:59:42 1993 +0000 +++ b/Objects/object.c Fri Oct 22 12:04:32 1993 +0000 @@ -38,6 +38,7 @@ static typeobject *type_list; extern int tuple_zero_allocs, fast_tuple_allocs; extern int quick_int_allocs, quick_neg_int_allocs; +extern int null_strings, one_strings; void dump_counts() { @@ -51,6 +52,7 @@ tuple_zero_allocs); printf("fast int allocs: pos: %d, neg: %d\n", quick_int_allocs, quick_neg_int_allocs); + printf("null strings: %d, 1-strings: %d\n", null_strings, one_strings); } void
