for i in 0..<100 {
autoreleasepool{
print("1")
let path = ""
let data = try? NSData(contentsOfFile: path, options: [])
// ...
}
}
for i in 0..<100 {
autoreleasepool{
print("1")
let path = ""
let data = try? NSData(contentsOfFile: path, options: [])
// ...
}
}
本文标题:@autoreleasepool
本文链接:https://www.haomeiwen.com/subject/tyyjittx.html
网友评论