On Thursday, 19 May 2016 at 23:56:46 UTC, poliklosio wrote:
(...)Clearly the reason for building such a gigantic string was some sort of repetition. Detect the repetition on-the-fly to avoid processing all of it. This way the generated name is already compressed.
It seems like dynamic programming can be useful.