mathiasbynens / mathiasbynens/small

Measuring in bytes is not fully correct file must have minimal information possible too

Open
#96 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
2.3k
Forks
192
PR merge metrics
No merged PRs in 30d

Description

for example https://github.com/mathiasbynens/small/blob/master/scala.scala example

```scala
class m
```

have amount of information ie shannon enthropy 2.52bits

so better will be

```scala
class s
```

it has much more less information 2.13 so better

Imagine you need to compress all that files, files with less information will be better compressed, so will have a less size.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the scala.scala example linked in the issue and the repository's existing approach to measuring file size. The issue does not name implementation files, tests, or a settled metric; progress would require defining how information content should be measured and how that criterion changes the project’s results.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.