1 Reply Latest reply on May 22, 2016 9:40 AM by George Gastaldi

    Roaster - Performance issues with NestedTypes

    Gwenhael PASQUIERS Newbie

      Hi, I'm generating code with Roaster.


      It's an unusual case of a class with hundreds of Fields and NestedTypes.


      The issue I have is that the more fields and types I add, the slower the add or get operation become. I'm gessing it's because there's a lot of looping through lists instead of using things like maps. At the end the generation of the classes takes up to a minute where it was a couple of seconds using other code generators and thats an issue for me (the code generation is called in the generate-sources maven step).