The 'Killer' StringBuilder Use Case #java #shorts

preview_player
Показать описание

#airhacks
Рекомендации по теме
Комментарии
Автор

your shorts really amazing!!! great job man it's really appreciable

Atharva_kathiyawadi
Автор

I mean, isn't the first code optimised by the compiler in Java 9+ using StringConcatFactory? I'm not a pro, just heard somewhere about it. Please Adam, explain.

michimarz
Автор

so stringbuilder doesn't create multiple string instances in the string constant pool?

AJ-fbpk