Re:Reasons to use Phoenix instead of Rails
by merb on Monday November 27, 2017 @08:09AM
(#15786981)
yeah this is cool, until you make a single map...
[ Parent
| on HN ]
Re:Reasons to use Phoenix instead of Rails
by tychver on Monday November 27, 2017 @09:44AM
(#15787677)
Do you mean: "take a few thousand rows and map them to a different data structure"? Because I benchmarked that recently and mapping 16,000 rows of GPS points using haversine distance in pure Ruby takes about 12ms, and about 5ms in Go. It's not that much slower. There are tasks where Ruby can be ~100x slower than Go, but a simple map isn't one of them.