Skip to content
Snippets Groups Projects
Commit 9e59712e authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Print the number of consts

Rev: tools/release_checks.pike:1.9
parent cfe12455
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,8 @@ int test_constants() {
if(allocated < consts*105/100) {
// Overallocating by less than 5%.
write("Consider increasing the size of the builtin_constants mapping "
"to %d entries (currently %d).\n", consts*110/100, allocated);
"to %d entries (currently %d/%d).\n", consts*110/100, allocated,
consts);
} else if (allocated > consts*115/100) {
// Overallocating by more than 15% seems excessive.
write("Consider decreasing the size of the builtin_constants mapping "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment