Ideally this shouldn't be a function unless incredibly fast, maybe we will at some point want to IFDEF for debug, etc.