Skip to content

Use binary prefixes by default #11

@murlakatamenka

Description

@murlakatamenka

It's a proposal of sane defaults.

From number_prefix crate:

Which type of prefix should I use?

There is no correct answer to this question! Current practice is to use the binary prefixes for numbers of bytes, while still using the decimal prefixes for everything else. Computers work with powers of two, rather than powers of ten, and by using the binary prefixes, you get a more accurate representation of the amount of data.

I absolutely agree with that. durt calculates sizes of files on computers after all. What's your opinion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions