[PATCH] reduce stack footprint in namespace.c