> On Nov 27, 2017, at 5:58 PM, Guillaume Lessard via swift-evolution > <swift-evolution@swift.org> wrote: > > > >> On Nov 27, 2017, at 18:34, Douglas Gregor via swift-evolution >> <swift-evolution@swift.org> wrote: >> >> Hello Swift community, >> >> The review of SE-0191 "Eliminate IndexDistance from Collection" begins now >> and runs through December 3, 2017. > [snip] >> • What is your evaluation of the proposal? > > I approve heartily. > I previously complained about this on the swift-users list, making mostly the > same arguments against the idea of not using Int. The best argument against > that I know is a file-mapping collection on a 32-bit platform; if this > matters, IndexDistance could simply be Int64 instead of Int.
I’d like to point out that using Int64 would likely cause just as much numericCast'ing around as IndexDistance, so I don’t think that’s a viable alternative. (Thanks for the review!) - Doug _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution