At first I thought the article was describing something similar to Ruby’s symbols
only strings that are known at compile time could possibly be compile-time hashed?
But the article is talking about strings in a running program. The performance improvements can apply to strings that are constants, but is created at run time.
At first I thought the article was describing something similar to Ruby’s symbols