Adding performance helpers
Copying over stuff from AnLangD