Example 1: basic usage</a></li>
  <li><a href="#example2">Example 2: key-value flyweights</a></li>
  <li><a href="#example3">Example 3: flyweights and the composite pattern</a></li>
  <li><a href="#example4">Example 4: formatted text processing</a></li>
  <li><a href="#example5">Example 5: flyweight-based memoization</a></li>
  <li><a href="#example6">Example 6: serialization</a></li>
  <li><a href="#example7">Example 7: performance comparison</a></li>
  <li><a href="#example8">Example 8: custom factory</a>