kamil-kielczewski / small-jsfuck

Generate small jsf code
8 stars 1 forks source link

Procedure for generate text statistics #10

Open kamil-kielczewski opened 4 years ago

kamil-kielczewski commented 4 years ago

Create reusable function which allow to prepare encoded text statistic :

  1. text will be encoded to base4, base8 or base9 (maybe base16)
  2. procedure count popularity of baseX each character and return output as array of baseX characters sortet from most to lest popular

This is already done for base8 in this fiddle

kamil-kielczewski commented 4 years ago

Work starts in this fiddle...