3 ms·
Ruby Numbers and the Memory: how I got confused
- evgeniydemin 4y agoAre you interested in how Ruby stores numbers in memory? It can look not very sensible initially, but knowing this can help you grow professionally.
- RangerScience 4y agoNeat! I particularly like how you walk us along with your investigation; I didn't know about `memsize_of`. Reminds of an "issue" I ran into a while, where Timecop doesn't affect file timestamps, because those are pulled from the OS rather than Ruby.
- evgeniydemin 4y agoGlad that you liked it! True about timecop.