perf(kernel/metavar): minor improvement