Performance of hashes and associative arrays
    Ali Çehreli 
    acehreli at yahoo.com
       
    Sat Nov 10 07:43:13 PST 2012
    
    
  
On 11/10/2012 05:17 AM, Dan wrote:
 > I just meant string concatenation is likely unnecessary. Imagine two one
 > megabyte strings. It is easy to concat them and call the string hash
 > function on the result but you have to create a 2Mb string first.
Just a random thought: std.range.chain can obviate that copy:
   http://dlang.org/phobos/std_range.html#chain
Ali
    
    
More information about the Digitalmars-d-learn
mailing list