Hacker GitHub

← All repos

mime-types/ruby-mime-types

View on GitHub ↗ ★ 336 Ruby

Ruby MIME type registry library

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2015-08-06 · latest 2015-08-13

Mentions per year 3 mentions · busiest year 2015 (3)
20082026
  1. …to allocate way more objects. For example, I was able to save a ton of object allocations here: https://github.com/mime-types/ruby-mime-types/pull/93 mostly by mutating. For tasks that are not easily parallelizable it may be slower to use…
  2. …though, mutating and re-using strings when possible can yield some pretty large improvements like https://github.com/mime-types/ruby-mime-types/pull/93 . I would love to read a post written in simple(ish) terms about how V8 handles string…
    comment by schneems · 2015-08-06 · in Patching Rails Performance
  3. …and use case is different. I've used sequel and really enjoy it. Jeremy writes some amazing code https://github.com/mime-types/ruby-mime-types/commit/8ce1add... and is a great human.
    comment by schneems · 2015-08-06 · in Patching Rails Performance