{"push_id":3058797459,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"83725efa27fac2c2b64a2ed23688e52242d40b60","before":"3480fc49ec76fa8065b68b9fcaf07a2e80f1342e","commits":[{"sha":"5c0b6872e65a83df669ac2235c27fa1951b612f9","author":{"name":"Nick Weiland","email":"45cc41307a8e6be55a9a4824bc35501b44cc4ef2@gmail.com"},"message":"Remove '* `scan` is faster than `split`'\n\nWondering if we should remove this line as they are actually very close and split is faster when you don't have to split on a regex.\r\n\r\n```ruby\r\ninput = \"Rolling On The Floor Laughing So Hard That My Dogs Came Over And Licked Me\"\r\nBenchmark.bm do |x|\r\n  x.report { 300000.times { input.split.map(&:chr).join.upcase } }\r\n  x.report { 300000.times { input.scan(/\\b[a-zA-Z]/).join.upcase } }\r\n  x.report { 300000.times { input.scan(/\\b\\w/).join.upcase } }\r\n  x.report { 300000.times { input.split(/[ -]/).map(&:chr).join.upcase } }\r\nend\r\n\r\nuser     system      total        real\r\n   1.284399   0.004155   1.288554 (  1.291912)\r\n   2.382366   0.007289   2.389655 (  2.392864)\r\n   2.397778   0.009972   2.407750 (  2.415239)\r\n   2.416601   0.011869   2.428470 (  2.438584)\r\n```\r\n\r\nSplit without a regex is significantly faster, but fails the tests. The rest are comparable.\r\n\r\nI only noticed this because I was pointing people towards scan as a faster solution and I got called out that `split` was actually faster.  This turned out to be wrong, because their solution only split on spaces (which is faster), but might be good to avoid mentions of speed here.","distinct":true,"url":"https://api.github.com/repos/exercism/website-copy/commits/5c0b6872e65a83df669ac2235c27fa1951b612f9"},{"sha":"dcfe13b5a049d71d119a293b83b53ed2fa9cc286","author":{"name":"Nick Weiland","email":"45cc41307a8e6be55a9a4824bc35501b44cc4ef2@gmail.com"},"message":"Update mentoring.md","distinct":true,"url":"https://api.github.com/repos/exercism/website-copy/commits/dcfe13b5a049d71d119a293b83b53ed2fa9cc286"},{"sha":"83725efa27fac2c2b64a2ed23688e52242d40b60","author":{"name":"Maud de Vries","email":"9dd6b9d71cb345ec65abe7306368483ff79f62d9@gmail.com"},"message":"Merge pull request #555 from weilandia/patch-1\n\nAcronym: adjust '* `scan` is faster than `split`'","distinct":true,"url":"https://api.github.com/repos/exercism/website-copy/commits/83725efa27fac2c2b64a2ed23688e52242d40b60"}]}
{"actor":{"display_login":"F3PiX"}}