Looks good @hooovahh, feel free to use it / the inspiration 🙂 in your VIMs.
PS. Twelve years ago (!) I made other optimized implementations of many of the OpenG functions and posted them here.
I could not find them though, but I attached it here now. I am sure some of them are not that much quicker anymore / have better alternative implementations now, but some of them probably are better. I have not gone through them again yet.
1509324986_OpenGArrayRevisedR4LV2011.zip