<crystal-gh>
[crystal] asterite opened pull request #3960: Compiler: emit simpler debug info for code generated by macros (master...feature/fix_macro_debug_info) https://git.io/vDIMr
<jeromegn>
any good way to track down a memory leak? I tried the Instruments.app that comes with xcode and I saw that *Dirty* memory was growing quite a bit over time. However, that's not nearly enough information to plug the leak.
<jeromegn>
It also seems like not using SSL reduces the leak quite a bit
<crystal-gh>
[crystal] asterite fast-forwarded master from 4c15dec to 03e69b7: https://git.io/vDIyY
soveran has joined #crystal-lang
<jeromegn>
going to give valgrind a shot
soveran has quit [Remote host closed the connection]
<FromGitter>
<maiha_twitter> Hi! I used `0.20.5` for the first time now, the compile becomes slower. And it seems that no caches are used. Is this a known issue?
<FromGitter>
<maiha_twitter> The compile time for my app. ⏎ `0.20.4`: 11.4s(1st time) -> 3.0s(2nd time) ⏎ `0.20.5`: 16.5s(1st time) -> 15.0s(2nd time)
voldz1tic3n has joined #crystal-lang
<voldz1tic3n>
Hi I'm José. Is there anyone here willing to answer my simple question?
<voldz1tic3n>
Sorry about that, on second thought it isn't such a simple question -- in fact it is debatable (after googling it myself).
Kug3lis has joined #crystal-lang
Kug3lis is now known as Kug3lis_off
<FromGitter>
<asterite> maiha I found that too today, check the last PR I submitted. I guess it deserves a new release after the fix
voldz1tic3n has quit [Read error: Connection reset by peer]
<FromGitter>
<martinium> what is the proper Crystal naming convention for a module?
<FromGitter>
<martinium> Same as a class aka Capital letter at the beginning?
<FromGitter>
<martinium> nevermind Documentation confirmed it
<FromGitter>
<martinium> :D
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
unshadow has quit [Ping timeout: 245 seconds]
Kug3lis_off is now known as Kug3lis
Kug3lis is now known as Kug3lis_off
soveran has joined #crystal-lang
unshadow has joined #crystal-lang
mark_66 has joined #crystal-lang
<crystal-gh>
[crystal] MakeNowJust opened pull request #3961: Fix `Enum#to_s` to wrap flag enums with parens (master...fix/enum/to_s_wrap_multiple_flags) https://git.io/vDLsz
<akwiatkowski>
Hello. Week ago I've started commandline organizer https://github.com/akwiatkowski/ocranizer Now it has updated readme, and core features are ready. Do you know is it possible to test commands using OptionParser ?
Kug3lis is now known as Kug3lis_off
<RX14>
akwiatkowski, you could create the option parser using .new and pass in ARGV when running, or pass in a custom array when running specs
soveran has quit [Remote host closed the connection]
<FromGitter>
<mosop> hi. anyone knows where is a prebuilt Crystal binary for alpine linux?
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
<RX14>
@mosop there isn't an official one at least
bjz_ has joined #crystal-lang
bjz has quit [Ping timeout: 245 seconds]
mosop has joined #crystal-lang
mosop has quit [Ping timeout: 260 seconds]
<FromGitter>
<mosop> thanks RX. i'll try it myself.
unshadow has joined #crystal-lang
danielpclark has quit [Remote host closed the connection]
bjz_ has quit [Ping timeout: 255 seconds]
bjz has joined #crystal-lang
<crystal-gh>
[crystal] asterite closed pull request #3960: Compiler: emit simpler debug info for code generated by macros (master...feature/fix_macro_debug_info) https://git.io/vDIMr
<akwiatkowski>
crisward: is possible to setup variables within `before_each` ?
mikedev has quit [Quit: Page closed]
<FromGitter>
<crisward> Not sure... is it not working?
<Yxhuvud>
http://blog.redpanthers.co/behind-scenes-hash-table-performance-ruby-2-4/ was pretty interesting. They get a lot better performance by going away from a hash based on linked list to one based on only two arrays. (relevant as crystal use basically the same strategy as Ruby used before the change)
<akwiatkowski>
crisward it looks like it's not working, not possible to setup variable or instance variable `@var`
<Papierkorb>
Sija, try the case snippet manveru posted, it fails with `Syntax error in eval:1: unexpected token: DELIMITER_START` for me
<manveru>
sorry, i wasn't clear, not sure if it's only happening in a case, but it was a bit... unexpected :)
<FromGitter>
<Sija> @Papierkorb indeed, although `1 / 1` alone doesn’t exhibit this behaviour
<Papierkorb>
`if 1/2; end` works fine though
<manveru>
all other operators work, i guess it's trying to parse a regex or something
<Papierkorb>
Was my guess too, so I tried `case 1; when 1; 1 / 2/; end` but got the same error. I expected a different error. (or maybe my test case was just stupid, it's getting late :) )
<FromGitter>
<Sija> looks like a candidate for bug report :)
<manveru>
ok, was just making sure it's not a mistake on my part :)