[Info-vax] CLI parsing routines suggestion, was: Re: InnoDB memory issue in MariaDB
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Sun Oct 11 13:18:16 EDT 2020
On 2020-10-11 14:16:58 +0000, Simon Clubley said:
> On 2020-10-09, Arne Vajhøj <arne at vajhoej.dk> wrote:
>>
>> That, or K and M suffixes.
>>
>> /byt=200K/pgfl=2M
>>
>
> But is that /pgfl=(2*1000*1000) or /pgfl=(2*1024*1024) ? :-)
KB, KIB, MB, MIB, etc., were adopted ~20 years ago.
More than a little existing software around gets this wrong.
Given longstanding practice, I'd suggest developers use dice to select
whether to use the base-10 or the base-2 units.
This to ensure the continued quality of the existing displays and UIs.
But then we've also previously discussed DCL and the limitations of
compatibility, too.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list