iolist_size/1 in guard tests

Aleksander Nycz Aleksander.Nycz@REDACTED
Tue Jan 4 09:53:24 CET 2022


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5189 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20220104/35ce1dae/attachment.bin>


More information about the erlang-questions mailing list