[phobos] review for environment

Steve Schveighoffer schveiguy at yahoo.com
Mon Oct 25 14:39:36 PDT 2010


The only place where I see the environment is copied is toAA, which is not 
necessary to be able to use the environment.  You can use opIndex directly.

Am I missing something?  Are you missing something?

-Steve



----- Original Message ----
> From: Andrei Alexandrescu <andrei at erdani.com>
> To: Discuss the phobos library for D <phobos at puremagic.com>
> Sent: Mon, October 25, 2010 5:27:12 PM
> Subject: [phobos] review for environment
> 
> Here are a few thoughts about  
>http://www.dsource.org/projects/phobos/changeset/1867.
> 
> On many machines  the environment might be considerably large, and copying it 
>doesn't sound like  the most effective solution.
> 
> Would it be possible to define a simple  (input or forward) range for  
>Environment?
> 
> 
> Andrei
> _______________________________________________
> phobos  mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
> 


      


More information about the phobos mailing list