Re:HAML vs ERB vs SLIM in terms of render speed
by allr on Wednesday October 17, 2012 @08:36AM
(#4664089)
Didn't know Slim was much faster than Haml, might worth it to switch, since the syntax is pretty similar anyway!
[ Parent
| on HN ]
Re:HAML vs ERB vs SLIM in terms of render speed
by lengarvey on Wednesday October 17, 2012 @08:42AM
(#4664113)
One of the biggest reasons to switch is that Slim supports streaming and Haml doesn't, or at least won't until the next major version.
Sources: https://github.com/stonean/slim#slim, https://github.com/haml/haml/issues/436
Re:HAML vs ERB vs SLIM in terms of render speed
by aoe on Wednesday October 17, 2012 @11:53AM
(#4664975)
Are there any other pros/cons in switching to Slim? Other than the syntax of course.
Re:HAML vs ERB vs SLIM in terms of render speed
by OffTheRails on Saturday October 20, 2012 @08:50PM
(#4678574)
I'd say speed and syntax are the main reasons. I've used both Haml and Slim over 5 or so projects and the jump doesn't feel all that significant. If you know Haml, you can pickup Slim within a couple of days at most.