Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It sounds like they were jumping to conclusions regarding the templating being responsible for creating a large number of objects.

ERB, Haml (which is what Diaspora uses), and any other templating engine I've seen use either concat or << when rendering a template. These never create a new object, they mutate (and perhaps resize) the original string.

Maybe next time they should profile better before following their gut feeling and rewriting their front end ;)



They got a 3-fold speed up. Seems like they were doing something right.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: