mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
stdlib: underscore-prefix String.core
Swift SVN r20411
This commit is contained in:
@@ -10,10 +10,10 @@ func testReallocation() {
|
||||
var reallocations = 0
|
||||
for i in 0..<laps {
|
||||
for s in x {
|
||||
var lastBase = story.core._baseAddress
|
||||
var lastBase = story._core._baseAddress
|
||||
story += " "
|
||||
story += s
|
||||
if lastBase != story.core._baseAddress {
|
||||
if lastBase != story._core._baseAddress {
|
||||
++reallocations
|
||||
|
||||
// To avoid dumping a vast string here, just write the first
|
||||
|
||||
Reference in New Issue
Block a user