title: What are the runtime performance implications of using typed versus untyped F# code quotations?
body: <p>I am using <code>F# Code Quotations</code> for the purpose of producing an executable .NET library via either <code>LINQ expression trees</code> or <code>FSharp.Compiler.Services</code>.</p>
  
  <p>I can author/create <em>most</em> of the AST needed using typed quotations but am struggling with a particular area as the expression could resolve to multiple types - hence am considering untyped code quotations.</p>
  
  <p>I appreciate from <a href="https://stackoverflow.com/questions/10640978/when-to-favor-untyped-over-typed-quotations-in-f">this SO question</a> the advantages of typed expressions from a safety point of view but my main concern at this point is runtime performance.</p>
  
  <ol>
  <li><p>Is it a meta-programming "code smell" if your expression could resolve to multiple types?</p></li>
  <li><p>Will it make any difference to runtime performance (in .NET) if I use typed versus untyped quotations/expressions</p></li>
  </ol>