Questions tagged «xcode6»

9
ස්විෆ්ට් බීටා කාර්ය සාධනය: අරා වර්ග කිරීම
මම ස්විෆ්ට් බීටා හි ඇල්ගොරිතමයක් ක්‍රියාත්මක කරමින් සිටියදී එහි ක්‍රියාකාරිත්වය ඉතා දුර්වල බව දුටුවෙමි. ගැඹුරට හාරා බැලීමෙන් පසු මට වැටහී ගියේ එක් බාධකයක් අරා වර්ග කිරීම තරම් සරල දෙයක් බවයි. අදාළ කොටස මෙහි ඇත: let n = 1000000 var x = [Int](repeating: 0, count: n) for i in 0..<n { …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.