I don’t have much time today but this was a quick sketch I made when talking to a friend about parallel parsing. This is related to considering parsing each item in an OR expression in parallel. It would incur a lot of locking in order to safely share memo tables but if you don’t share memo tables you end up with a lot of duplicate effort.
But I wonder, is duplicate effort actually bad in parallel?