title: Does Type Hints improve performance in Python?
body: <p>Let's say we have the following code:</p>
  <pre><code>def hello(name: str) -&gt; str:
      return 'Hello there, {}!'.format(name)
  </code></pre>
  <p>So I was curious about this type hints and I took a look at PEP docs:</p>
  <blockquote>
  <p>While these annotations are available at runtime through the usual
  <code>__annotations__</code> attribute, no type checking happens at runtime. Instead, the proposal assumes the existence of a separate off-line
  type checker which users can run over their source code voluntarily.</p>
  </blockquote>
  <p>Here's my question: can we take advantage of type hints to make python programs run faster?</p>