You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I happen to check yappy and to my surprise it uses 100 levels. 100 levels that are virtually indistinguishable from each other.
Checked the source and I get where it come from but these levels are needlessly numerous.
While in the beginning they do provide measurable difference, later they are basically the same - difference in ratio between level 98 and 99 is 0.000434%.
So I tried what every gzip dev would do - map these levels into smaller, more meaningful and manageable range, namely 1..9.
As returns from more 'levels' diminishes quickly, likely at exponential pace so I decided to choose exponential number of iterations as a yardstick and comeup with this formula:
Now differece in ratio between levels 8 and 9 is 0.042359%. Still very little, but somewhat more meaningful. 100 times more.
The low levels are also well 'spread', correspondingly with their performance.
The text was updated successfully, but these errors were encountered:
Yappy levels mapping
I happen to check yappy and to my surprise it uses 100 levels. 100 levels that are virtually indistinguishable from each other.
Checked the source and I get where it come from but these levels are needlessly numerous.
While in the beginning they do provide measurable difference, later they are basically the same - difference in ratio between level 98 and 99 is 0.000434%.
So I tried what every gzip dev would do - map these levels into smaller, more meaningful and manageable range, namely 1..9.
As returns from more 'levels' diminishes quickly, likely at exponential pace so I decided to choose exponential number of iterations as a yardstick and comeup with this formula:
Now differece in ratio between levels 8 and 9 is 0.042359%. Still very little, but somewhat more meaningful. 100 times more.
The low levels are also well 'spread', correspondingly with their performance.
The text was updated successfully, but these errors were encountered: