sdaschner / jaxrs-analyzer

Creates REST documentation for JAX-RS projects
Apache License 2.0
319 stars 101 forks source link

significant performance improvement by making availableMethods in MethodPool a Map/HashMap #160

Open bseiller opened 6 years ago

bseiller commented 6 years ago

a set of possible changes to get the benefits outlined in #159

bseiller commented 6 years ago

Here you go - as said, there was a minor difference in the resulting swagger.json. If you want to pursue the idea and find the changes merge-worthy or use them a start for changing MethodPool yourself I might be able to provide a test-case that provokes this difference - but lets first see what you think.