a quick question about String

Alan Snyder javalists at cbfiddle.com
Thu Dec 23 17:59:18 UTC 2021


Do the public constructors of String actually do what their documentation says (allocate a new instance), or is there some kind of compiler magic that might avoid allocation?



More information about the core-libs-dev mailing list