Re: [swift-users] Collection underestimatedCount() does _?

2016-03-18 Thread Will Stanton via swift-users
Hello Dmitri, Thank you – wasn’t aware and jumped to CollectionType’s redeclaration! File https://bugs.swift.org/browse/SR-991 since I thought the documentation could say that right there. Regards, Will Stanton > On Mar 19, 2016, at 2:08 AM, Dmitri Gribenko via swift-users > wrote: > > Hi W

Re: [swift-users] Collection underestimatedCount() does _?

2016-03-18 Thread Dmitri Gribenko via swift-users
On Fri, Mar 18, 2016 at 10:53 PM, Will Stanton via swift-users wrote: > I might have missed something since a lot of the results are for tests > > But why would `underestimatedCount` ever be used instead of `count`? Do

Re: [swift-users] Swift on a cluster?

2016-03-18 Thread Ramakrishna Mallireddy via swift-users
Sorry for misleading, yeah swift.org is the official site. On Fri, Mar 18, 2016 at 11:28 PM, Paul Schifferer wrote: > This is incorrect. swift-lang.org is a completely unrelated language that > happens to be called Swift. The official site for Apple’s Swift is > swift.org. > > -- > Paul Schiffer

[swift-users] Collection underestimatedCount() does _?

2016-03-18 Thread Will Stanton via swift-users
Hello, I came across `underestimatedCount()` and wonder what it does. I’m trying to become more familiar with Swift collections so (perhaps) I can write better-performing code! /// Returns a value less than or equal to the number of elements in /// `self`, *nondestructively*. /// /// - Complex

Re: [swift-users] Problems building with dependency

2016-03-18 Thread Swift Studies via swift-users
Ah that's good to know... I assume 1.8.4 is what is installed along with the XCode command line tools.. What's the best way to upgrade the version without upsetting XCode? On Mar 17, 2016, at 04:50 PM, Max Howell wrote: I have a package I am building that I have introduced a dependency for,

[swift-users] Swift on a cluster?

2016-03-18 Thread Graymalk Meow via swift-users
Hi, Two things. 1. Has anyone run swift programs on a cluster? Is it possible? You can take that as meaning I am interested in giving it a try. Googling this turns up something super confusing: swift-lang.org Is this the same language? If it isn't then there is a real naming problem here. My

Re: [swift-users] libswift frontend ios

2016-03-18 Thread Ramakrishna Mallireddy via swift-users
The libLLVMContainer.dylib is actually from opengl.framework. On iOS the lib may be loaded by opengles.framework and I am not using any opengl myself, ios may be loading it by default. I have compiled llvm core & support libs along with my llvmtest code, Even then the conflict remains. How to I ge

Re: [swift-users] Problems building with dependency

2016-03-18 Thread Max Howell via swift-users
More likely this is from brew or macports. Xcode has shipped a newer version for a long time now. > On Mar 17, 2016, at 10:21 AM, Swift Studies wrote: > > > Ah that's good to know... I assume 1.8.4 is what is installed along with the > XCode command line tools.. What's the best way to upgrade