I did read all of it before I commented. I'm not sure if I'm going to output a 
really large map that I want to wait for it to sort. I guess I might want to 
wait. It would depend on why I want to sort. I guess I need to look at how I 
usually use inspect. I normally know the keys I'm looking for and don't find 
myself outputting a large map. When I do I copy it to another tool to look 
through and inspect keys and values. 

I'm asking if there is a reason we might not want to sort. Sometimes the 
question to ask is about a reason not to do it. I'm not against this I just 
want to explore ideas.

Thanks for your proposal and starting the conversation.

Amos

> On Feb 15, 2017, at 09:23, Onorio Catenacci <catena...@gmail.com> wrote:
> 
> Again, the question is the _display_ of the keys; absolutely nothing would 
> change about how the keys are stored.  
> 
> "I propose always sorting the map keys when they are inspected" (emphasis 
> mine). 
> 
> Please read back to the start of the thread if you care to comment.
> 
> 
>> On Wednesday, February 15, 2017 at 10:02:14 AM UTC-5, Louis Pilfold wrote:
>> Hey Amos
>> 
>> As I understand it the ordering of maps is an Erlang implementation detail 
>> that is not to be relied upon. If you want an ordered dictionary a map 
>> probably is not the correct data structure for you.
>> 
>> Cheers,
>> Louis
>> 
>> 
>>> On Wed, 15 Feb 2017 at 14:35 Amos King <am...@binarynoggin.com> wrote:
>>> Before jumping on this should we be asking why the decision was made to not 
>>> sort if there are more than 32 keys? Maybe there is a performance concern, 
>>> and if we want sorted keys we should be sending a different message?
>>> 
>>> Amos King
>>> Owner
>>> Binary Noggin
>>> http://binarynoggin.com #business
>>> http://thisagilelife.com #podcast
>>> =======================================================
>>> I welcome VSRE emails. Learn more at http://vsre.info/
>>> =======================================================
>>> 
>>>> On Tue, Feb 14, 2017 at 7:41 PM, Ben Wilson <benwil...@gmail.com> wrote:
>>>> This has my vote as well. It would make visually inspecting maps a lot 
>>>> easier.
>>>> 
>>>>> On Tuesday, February 14, 2017 at 7:36:05 PM UTC-5, Onorio Catenacci wrote:
>>>>> +1 Eric
>>>> 
>>>> -- 
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "elixir-lang-core" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>>> email to elixir-lang-co...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/elixir-lang-core/934ffbee-44a6-40fb-9ecf-e24d48624f3f%40googlegroups.com.
>>>> 
>>>> For more options, visit https://groups.google.com/d/optout.
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "elixir-lang-core" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to elixir-lang-co...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/elixir-lang-core/CAJr6D4S81ZqQ%2BaZQrw_rohpPXxwBpUWz1WsAEUZ82fjT02U7Pg%40mail.gmail.com.
>>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to elixir-lang-core+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elixir-lang-core/968dfad6-6889-4975-a413-91bbc48968ed%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/546B5CB2-058E-4AF8-B698-BED3F8D93DA5%40binarynoggin.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to