Yes, I'll work on it. Thanks for considering this proposal!

2016-06-22 14:28 GMT+02:00 José Valim <[email protected]>:

> Wojtek, could you please send a pull request?
>
> On Wednesday, June 22, 2016, Charles Okwuagwu <[email protected]>
> wrote:
>
>> Makes it much easier to read large integer (and other) values.
>>
>>
>> http://stackoverflow.com/questions/34064900/is-there-a-switch-to-enable-thousand-digit-grouping-100-000-by-default-in-iex
>>
>> There's a suggestion here that you can use right away.
>>
>>
>> On Tuesday, June 14, 2016 at 10:22:03 PM UTC+1, Wojtek Mach wrote:
>>>
>>> Hello everyone,
>>>
>>> It's very convenient to write down integer literals as e.g. 10_000_000 -
>>> much easier for humans to read.
>>>
>>> I was recently debugging some performance issues and I was working with
>>> this data in iex:
>>>
>>> [memory: 173978912, message_queue_len: 0, heap_size: 12834421,
>>>   total_heap_size: 21747214,
>>>   garbage_collection: [min_bin_vheap_size: 46422, min_heap_size: 233,
>>>    fullsweep_after: 65535, minor_gcs: 2]]
>>>
>>> This data would be *much* more readable to me with digit separators:
>>>
>>> [memory: 173_978_912, message_queue_len: 0, heap_size: 12_834_421,
>>>   total_heap_size: 21_747_214,
>>>   garbage_collection: [min_bin_vheap_size: 46_422, min_heap_size: 233,
>>>    fullsweep_after: 65_535, minor_gcs: 2]]
>>>
>>> It probably shouldn't be the default behavior for inspect/2, so I think
>>> this could only happen with one of: [pretty: true] , [pretty: :decimal]or
>>> perhaps something like [pretty_decimal: true].
>>>
>>> Regards,
>>> Wojtek
>>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elixir-lang-core/94761768-95ab-4b3d-9d6c-8fcfcf77b0b7%40googlegroups.com
>> <https://groups.google.com/d/msgid/elixir-lang-core/94761768-95ab-4b3d-9d6c-8fcfcf77b0b7%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
>
>
> *José Valim*
> www.plataformatec.com.br
> Skype: jv.ptec
> Founder and Director of R&D
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "elixir-lang-core" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elixir-lang-core/trxIuhky0a8/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4J7X6PeXC4DR6pJPioDP6ceN%2Bx_iMUwPN4PR%2Bqq13VgLg%40mail.gmail.com
> <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4J7X6PeXC4DR6pJPioDP6ceN%2Bx_iMUwPN4PR%2Bqq13VgLg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Wojtek Mach

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CADmQCnprN7NKe1a9FJdF8R9THiZQWkOGvJtyXoaRoy9Xwg3gug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to