# Elixir Map vs Erlang :array

**URL:** <https://forum.elixirforum.com/t/elixir-map-vs-erlang-array/47977>\
**Category:** Discussions\
**Tags:** data-structures\
**Created:** [May 25, 2022, 6:28pm UTC](https://forum.elixirforum.com/t/elixir-map-vs-erlang-array/47977 "2022-05-25T18:28:14Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![stevensonmt](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/stevensonmt/32/20503_2.png) [@stevensonmt](https://forum.elixirforum.com/u/stevensonmt)\
**Post date:** [May 25, 2022, 7:02pm UTC](https://forum.elixirforum.com/t/elixir-map-vs-erlang-array/47977/5 "2022-05-25T19:02:30Z")

</div>

@hauleth Brilliant, thanks. Looking at the graphs in the benchmark section of the library’s readme I’m not sure I understand the conclusions in the corresponding text about the ErlangArray vs MapArray implementations. For instance:

 ![image](https://forum.elixirforum.com/uploads/default/original/3X/2/0/2028d92c6af12527d4e19e2b6f2db042e4613c2a.png)  
To me the different implementations seem identical at sizes \>8k according to the graph. In any case they seem to be close enough to equivalent for my purposes. I’m glad someone has already put this work in.

@benwilson512 Thanks for the tip. You are right of course about the efficiency, but the tradeoff would be `n` lookups for `n` length rows if I ever wanted to deal with things by row. It also is just easier for me to keep it visualized in my head.

@al2o3cr That’s a good tip. Thanks.

---

_[View the full topic](https://forum.elixirforum.com/t/elixir-map-vs-erlang-array/47977)._
