Closed stevendaniels closed 5 years ago
I've made your suggested improvements.
want to also do expand_dimensions_shorthand so things look more uniform ?
want to also do expand_dimensions_shorthand so things look more uniform ?
Done!
1.7.0 🎉
also added a tiny cleanup https://github.com/premailer/css_parser/commit/cffac203d3d602e464f66f5512ae2824b2069af3
While using the
premailer
gem with a background worker, I noticed that our excessive GC was slowing our mail jobs down. The main culprit, is this gem. I took 3 approaches to reducing allocations and memory usage.expand_dimensions_shorthand
Overall, allocated memory was reduced by 25% and object allocation was reduced by 27%.
Before
After