I’m uncertain if I’m using the correct forum, but I asked this question on the user list a few months back and no one responded. The NSRegularExpression library seems to perform poorly and I’m wondering if this is a performance bug or is it being used improperly? I’ve added links to two algorithms from the Benchmark Game project that seem quite slow when compared to other languages. While I understand that direct comparisons are not possible, this one benchmark really stands out.
http://benchmarksgame.alioth.debian.org/u64q/program.php?test=regexredux&lang=swift&id=2 http://benchmarksgame.alioth.debian.org/u64q/program.php?test=regexredux&lang=swift&id=1 _______________________________________________ swift-corelibs-dev mailing list swift-corelibs-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-corelibs-dev