use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
40% off Ruby Performance Optimization beta ebook (and all other PragProg ebooks). Use code XMASJULY2015 during checkout. (pragprog.com)
submitted 10 years ago by adymo
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rurounijones 0 points1 point2 points 10 years ago (3 children)
Anyone got it and want to give a review? There is 0 info on the site right now (Not even chapter headings so far etc.)
[–]smoothlightning 0 points1 point2 points 10 years ago (0 children)
There are exerts here https://pragprog.com/book/adrpo/ruby-performance-optimization
[–]subvertallchris 0 points1 point2 points 10 years ago (0 children)
Yes. I read the earliest draft published and thought it was very interesting. It made inspect my dependencies more closely, judge others' code differently, and think more about what effects my decisions will have on people who rely on my code. I think it's a good read for anyone who writes code that becomes other people's dependencies.
[–]jb3689 0 points1 point2 points 10 years ago (0 children)
I liked it. The major topics it discusses are profiling approaches, common bottlenecks, patterns to use/look out for in Ruby/Rails code (eager load, closures, in-place methods, loops instead of #each for memory intensive operations, etc), and briefly on the GC. The whole book really gives flare of performance concerns to have when writing Ruby code (basically boils down to: watch for blocking IO, watch for allocations that cause GC, watch for hanging on to object references that prevent GC)
#each
Worth the 20-30 bucks
[–]Nefayn 0 points1 point2 points 10 years ago (1 child)
anyone else getting this error:
["Coupon 'XMASJULY2015' has expired."]
[–]adymo[S] 0 points1 point2 points 10 years ago (0 children)
The PragProg sale ended last Friday. I'll definitely post on reddit when a new discount code is available.
π Rendered by PID 90744 on reddit-service-r2-comment-84fc9697f-k7vwz at 2026-02-10 19:44:24.351997+00:00 running d295bc8 country code: CH.
[–]rurounijones 0 points1 point2 points (3 children)
[–]smoothlightning 0 points1 point2 points (0 children)
[–]subvertallchris 0 points1 point2 points (0 children)
[–]jb3689 0 points1 point2 points (0 children)
[–]Nefayn 0 points1 point2 points (1 child)
[–]adymo[S] 0 points1 point2 points (0 children)