News for hackers. Stuff that matters.
Re:Comparing Elixir and Go by proaralyst on Friday January 27, 2017 @04:34AM (#13498719)
This is a similar idea to a rope: https://en.wikipedia.org/wiki/Rope_(data_structure)
Re:Comparing Elixir and Go by masklinn on Friday January 27, 2017 @07:30AM (#13499349)
That's pretty much what iolists are, except you don't usually read iolists (or modify in ways other than concatenating) so you don't pay for that complexity cost. iolists are also mixed-type so you can have an iolist containing integers, strings and binaries (at the same nesting level or different ones) which means less transcoding pressure.