One of the biggest optimizations it offers is shrinking the size of the classes by obfuscating the names. If you're obfuscating the names anyway, there's no reason that the names have to be the same length.
"hn$z" is a heck of a lot smaller than "tld.organization.product.domain.concern.ClassName"
So we're not talking about runtime performance, but some minor improvement in loading times? I assume that once the JVM has read the bytecode, it has its own efficient in-memory structures to track references to classes rather than using a hash map with fully qualified names as keys
Proguard was heavily influenced by the needs of early Android devices, where memory was at a real premium. Reducing the size of static tables of strings is a worthwhile optimisation in that environment
Even a hash map with fully qualified names as keys wouldn't be so bad because Stirng is immutable in Java, so the hash code can be cached on the object.
They have to be stored somewhere, but they don't have to be what the JVM uses when it e.g performs a function call at runtime. Just having the names in memory doesn't slow down program execution.
According to the v8 devs it also can increase parsing performance
> Our scanner can only do so much however. As a developer you can further improve parsing performance by increasing the information density of your programs. The easiest way to do so is by minifying your source code, stripping out unnecessary whitespace, and to avoid non-ASCII identifiers where possible.
An art lost to the ages. Granted, their purposes were so different than they are today. Most of them would be replaced by a social media presence today.
The problem is that in order to attract developers to create those apps, you need users ready to buy those apps. The price of the Vision Pro is still the ultimate limiting factor for its success.
This is it 100%. Zuckerberg and Musk aren't doing anything more awful than Page or Brin, but they're smart enough to understand that it's WAY easier to get away with sketchy stuff when you're not someone that the average person knows about. There's a huge amount of value in keeping your mouth shut.
They'd been tossing with being evil for a while, but I feel like Google Plus was their New Coke moment, where they momentarily went too far, then backed off to the "classic" Google, while secretly replacing sucrose with the worse testing fructose.
Before then, Google was an advertising company with a bunch of side projects to increase user interaction, so advertisers has somewhere to show ads.
Since then, every part of Google has been working to lock in the user base while trying to extract as much as possible from them.
"hn$z" is a heck of a lot smaller than "tld.organization.product.domain.concern.ClassName"