[PLAT-6671] Better performance in ArgumentChecker