• 1 Post
  • 103 Comments
Joined 2 years ago
cake
Cake day: June 23rd, 2023

help-circle

  • enkers@sh.itjust.workstoKemonoMoe@ani.socialsussurro
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    10 days ago

    Short answer: Because 2^10 (1024) is very close to 1000, and it’s more convenient and accurate to measure things in powers of 2 when dealing with computers.

    You can either have a 8KiB cache or a 7.8125KB cache, for example.

    At one point it was even worse because they were BOTH kilobytes and both written KB, and it was ambiguous which one you were talking about.