Re: iolist_size/1 in guard tests

Aleksander Nycz <[email protected]> Tue, 4 Jan 2022 09:53:24 +0100
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>
Probably

iolist_size/1 -> O(N)

byte_size/1 -> O(1)


Regards
Aleksander


W dniu 04.01.2022 o 09:49, Mark Jones pisze:
> Is there a reason iolist_size/1 is not a guard BIF like byte_size/1 
> and bit_size/1?
>
> Cheers,
> Mark
smime.p7s (application/pkcs7-signature, 5.1 KB) - not displayed