can you give more context ? what was the command line to get this?<div>I thought lexing was not a bottleneck, yet it seems to be in second place?</div><div><br><div class="gmail_quote">On Sun, Jun 23, 2013 at 2:28 PM, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com" target="_blank">newshound2@digitalmars.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Flat profile:<br>
<br>
Each sample counts as 0.01 seconds.<br>
  %   cumulative   self              self     total<br>
 time   seconds   seconds    calls  ms/call  ms/call  name<br>
  5.19      0.08     0.08   945494     0.00     0.00  _aaGetRvalue(AA*, void*)<br>
  3.90      0.14     0.06   926415     0.00     0.00  Lexer::scan(Token*)<br>
  3.25      0.19     0.05   397097     0.00     0.00  calcHash(char const*, unsigned long)<br>
  2.60      0.23     0.04   373646     0.00     0.00  StringTable::search(char const*, unsigned lon<br>
  1.95      0.26     0.03    33255     0.00     0.00 TemplateInstance::semantic(<u></u>Scope*, Array<Expr<br>
  1.30      0.28     0.02   968985     0.00     0.00  ScopeDsymbol::search(Loc, Identifier*, int)<br>
  1.30      0.30     0.02   424079     0.00     0.00  calccodsize<br>
  1.30      0.32     0.02   234547     0.00     0.00  Parser::parseShiftExp()<br>
  1.30      0.34     0.02   168933     0.00     0.00  AliasDeclaration::toAlias()<br>
  1.30      0.36     0.02   136371     0.00     0.00  _aaGet(AA**, void*)<br>
  1.30      0.38     0.02   132102     0.00     0.00  TypeStruct::hasPointers()<br>
  1.30      0.40     0.02    32490     0.00     0.00 TemplateDeclaration::<u></u>matchWithInstance(Templa<br>
  1.30      0.42     0.02    21666     0.00     0.00 FuncDeclaration::<u></u>functionSemantic()<br>
  1.30      0.44     0.02    17983     0.00     0.00 VarDeclaration::syntaxCopy(<u></u>Dsymbol*)<br>
  1.30      0.46     0.02    12908     0.00     0.00 TemplateDeclaration::<u></u>deduceFunctionTemplateMa<br>
  1.30      0.48     0.02     6890     0.00     0.00  assignaddrc<br>
  1.30      0.50     0.02     6563     0.00     0.00  ecom(elem**)<br>
  1.30      0.52     0.02     5675     0.00     0.00 TypeInfo_Idxstr::getHash(void*<u></u>)<br>
  1.30      0.54     0.02     3780     0.01     0.01 TemplateDeclaration::semantic(<u></u>Scope*)<br>
  1.30      0.56     0.02     2648     0.01     0.01  operator delete(void*)<br>
  0.97      0.58     0.02    42592     0.00     0.00 IdentifierExp::semantic(Scope*<u></u>)<br>
  0.97      0.59     0.02    36403     0.00     0.00  BinExp::syntaxCopy()<br>
  0.65      0.60     0.01  2668529     0.00     0.00  operator new(unsigned long)<br>
  0.65      0.61     0.01  2575503     0.00     0.00  Dsymbol::isTemplateMixin()<br>
  0.65      0.62     0.01  2310757     0.00     0.00  Type::toBasetype()<br>
  0.65      0.63     0.01  2096689     0.00     0.00 OutBuffer::reserve(unsigned long)<br>
  0.65      0.64     0.01  1030635     0.00     0.00  Dsymbol::isTemplateInstance()<br>
  0.65      0.65     0.01   708615     0.00     0.00  Module::search(Loc, Identifier*, int)<br>
  0.65      0.66     0.01   683509     0.00     0.00  VarDeclaration::isDataseg()<br>
  0.65      0.67     0.01   662180     0.00     0.00  Module::isModule()<br>
  0.65      0.68     0.01   567921     0.00     0.00  isType(RootObject*)<br>
  0.65      0.69     0.01   536331     0.00     0.00  Mem::realloc(void*, unsigned long)<br>
  0.65      0.70     0.01   454836     0.00     0.00 Parameter::foreach(Array<<u></u>Parameter>*, int (*)<br>
  0.65      0.71     0.01   375732     0.00     0.00  Type::merge()<br>
  0.65      0.72     0.01   353615     0.00     0.00  Mem::free(void*)<br>
  0.65      0.73     0.01   348546     0.00     0.00  isDsymbol(RootObject*)<br>
  0.65      0.74     0.01   339336     0.00     0.00 exceptionOrCantInterpret(<u></u>Expression*)<br>
  0.65      0.75     0.01   311493     0.00     0.00  isTuple(RootObject*)<br>
  0.65      0.76     0.01   300069     0.00     0.00  TypeBasic::isscalar()<br>
  0.65      0.77     0.01   270438     0.00     0.00  VarDeclaration::hasPointers()<br>
  0.65      0.78     0.01   248163     0.00     0.00 Identifier::equals(RootObject*<u></u>)<br>
  0.65      0.79     0.01   234806     0.00     0.00  Parser::parseAddExp()<br>
</blockquote></div><br></div>