<commit_before>import Foundation


public extension NSOrderedSet {

	public convenience init<S: SequenceType where S.Generator.Element: AnyObject>(elements: S) {
		self.init(array: Array(elements))
	}


	public var isEmpty: Bool {
		return (count == 0)
	}


	public func reversedSequenceOf<T>(type: T.Type) -> SequenceOf<T> {
		let generator = NSFastGenerator(reverseObjectEnumerator())

		return SequenceOf(GeneratorOf() {
			return generator.next() as! T?
		})
	}


	public func sequenceOf<T>(type: T.Type) -> SequenceOf<T> {
		let generator = generate()

		return SequenceOf(GeneratorOf() {
			return generator.next() as! T?
		})
	}
}


extension NSOrderedSet: SequenceType {

	public func generate() -> NSFastGenerator {
		return NSFastGenerator(self)
	}
}<commit_msg>Made NSOrderedSet.sequenceOf unavailable due to nasty bug in Swift's optimizer.<commit_after>import Foundation


public extension NSOrderedSet {

	public convenience init<S: SequenceType where S.Generator.Element: AnyObject>(elements: S) {
		self.init(array: Array(elements))
	}


	public var isEmpty: Bool {
		return (count == 0)
	}


	@availability(*, unavailable, message="Broken in Xcode 6.3.1 due to bug in Swift's Whole Module Optimization.")
	public func reversedSequenceOf<T>(type: T.Type) -> SequenceOf<T> {
		let generator = NSFastGenerator(reverseObjectEnumerator())

		return SequenceOf(GeneratorOf() {
			return generator.next() as! T?
		})
	}


	@availability(*, unavailable, message="Broken in Xcode 6.3.1 due to bug in Swift's Whole Module Optimization.")
	public func sequenceOf<T>(type: T.Type) -> SequenceOf<T> {
		let generator = generate()

		return SequenceOf(GeneratorOf() {
			return generator.next() as! T?
		})
	}
}


extension NSOrderedSet: SequenceType {

	public func generate() -> NSFastGenerator {
		return NSFastGenerator(self)
	}
}
{'fraction_non_alphanumeric': 0.11819172113289761, 'fraction_numerical': 0.004357298474945534, 'mean_word_length': 4.600609756097561, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '407880', 'n_tokens_mistral': 638, 'n_tokens_neox': 554, 'n_words': 155}