Well, it seems that Richard was a sham. He wasn't even intelligent. According to Github Copilot, this is the "Middle-out compression algorithm" that Pied Piper has been talking about for years :
I Hacked the Middle-Out Compression From 'Silicon Valley'