Open
Description
This is a very hot function so we should find a way to implement this without requiring the recursive (allow / performance) overhead. @smoogipoo had an almost-working solution which needs some further thinking (ie. better defining how this method can/can't be used). Opening this issues so we don't forget about it.