Since objects aren't addressable by default, there wouldn't be the problems with a bit-packed Boolean collection that C++'s "vector<bool>" has. Does "[Bool]" currently have the option of packed optimization, or would it have to be added via a proposal? Or does it have to be a separate type instead?
This also brings to mind bit fields and fixed-sized bit sets, but those might have to wait for value-based generic parameters, and that's at least until Swift 4.... Sent from my iPhone _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
