The programming language Groovy contains lots of “syntactical sugar” designed to make the programmer’s task easier and the code more expressive and so, presumably, easier to maintain.
But my experience seems to suggest it also comes with a heavy performance price. I have updated some code I am working on to create XML files and now check some values against a range – of the form max .. min
and performance has fallen through several floors: a script that was running in 20 minutes has now been cranking away for over 145 minutes.
Related articles
- Introducing the lackeyml format (cartesianproduct.wordpress.com)
- Eighteen million lines of XML! (cartesianproduct.wordpress.com)
- Wrapping deftype factory methods ” Foognostic blogs (blogs.foognostic.net)
- Blink and You’d Miss it! Don’t use “custom DTDs”! (dogsmeat.wordpress.com)