I used what does this code do on my ruby clsx implementation.

The result is impressive.