cache dynamicObject into a local var. I told you before to avoid calling repeated methods, even if behind the scenes a Map is used. Not always, Map access is constant.