How is the constant concatenation in java? Also through StringBuilder, like ordinary strings? Are they optimized at the compilation stage if only constants are concatenated (say, into one big constant)?
Thank.
How is the constant concatenation in java? Also through StringBuilder, like ordinary strings? Are they optimized at the compilation stage if only constants are concatenated (say, into one big constant)?
Thank.
Source: https://ru.stackoverflow.com/questions/410037/
All Articles