On Tue, Dec 22, 2015 at 12:10 AM, Michael Buckley via swift-dev < swift-dev@swift.org> wrote:
> It actually appears that Swift already links against ICU. I'll see if I > can hook Swift up to ICU's grapheme separation code. > Hi Michael, Thank you for the investigation. Yes, calling into ICU for this would be an interesting direction to explore. One thing that we would want to do is measure the performance and compare to the current implementation. Dmitri -- main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if (j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/
_______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev