1. 23
  1.  

  2. 1

    For 16 bit nunbers you can use an array of precalculated strings that fit into a few hundred KB. If you want 32 bit numbers you probably don’t have 10s of GB to set aside for the data for this look up so you need something like in the article :)