[swift-dev] SR-122 / CollectionsMoveIndices.swift Prototype

Dmitri Gribenko gribozavr at gmail.com
Mon Apr 11 13:15:08 CDT 2016


On Mon, Apr 11, 2016 at 11:07 AM, Dave Abrahams <dabrahams at apple.com> wrote:
>
> on Sun Apr 10 2016, Austin Zheng <austinzheng-AT-gmail.com> wrote:
>
>> I'm really sorry for dropping the ball and disappearing off the list. I'd like
>> to help out if I can. I'll check out the current branch tomorrow and see what
>> the status of the work is, but let me know if everything is done already/there's
>> something in particular that should be worked on.
>
> Dmitri may have other ideas, but one thing we haven't done is to take
> advantage of the new model by removing references from indices.  I'd
> like to prove that the new model does what it's supposed to.  You might
> try simplifying the indices for Set and Dictionary.  It should be
> possible to represent them as a wrapper around an Int.

String could also make use of such simplification.

Another important task is writing tests for new APIs, such as range
APIs and collection APIs.

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 <gribozavr at gmail.com>*/


More information about the swift-dev mailing list