[erlang-questions] Efficiency of splitting binaries

Richard Andrews <>
Thu Oct 25 00:20:08 CEST 2007


> > I currently use iolist_size() to check the size of the input binary then
> > recursively break off a chunk from the front with something like, eg.
> > 
> 
> Why are you using iolist_size()? Is it possiblethat your input is not a 
> binary?

What other way is there to determine the length of a binary?



      Sick of deleting your inbox? Yahoo!7 Mail has free unlimited storage.
http://au.docs.yahoo.com/mail/unlimitedstorage.html




More information about the erlang-questions mailing list