{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3996","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3996/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3996/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3996/events","html_url":"https://github.com/spring-projects/spring-boot/issues/3996","id":107550809,"number":3996,"title":"Avoid creation of excessive garbage in MetricsFilter","user":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/46","html_url":"https://github.com/spring-projects/spring-boot/milestones/1.3.0.RC1","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/46/labels","id":1272991,"number":46,"title":"1.3.0.RC1","description":"","creator":{"login":"snicoll","id":490484,"avatar_url":"https://avatars.githubusercontent.com/u/490484?v=3","gravatar_id":"","url":"https://api.github.com/users/snicoll","html_url":"https://github.com/snicoll","followers_url":"https://api.github.com/users/snicoll/followers","following_url":"https://api.github.com/users/snicoll/following{/other_user}","gists_url":"https://api.github.com/users/snicoll/gists{/gist_id}","starred_url":"https://api.github.com/users/snicoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snicoll/subscriptions","organizations_url":"https://api.github.com/users/snicoll/orgs","repos_url":"https://api.github.com/users/snicoll/repos","events_url":"https://api.github.com/users/snicoll/events{/privacy}","received_events_url":"https://api.github.com/users/snicoll/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":33,"state":"open","created_at":"2015-08-26T08:18:13Z","updated_at":"2015-09-24T19:45:20Z","due_on":"2015-09-29T23:00:00Z","closed_at":null},"comments":2,"created_at":"2015-09-21T16:36:08Z","updated_at":"2015-09-24T20:37:28Z","closed_at":null,"body":"From #3942:\r\n\r\n> String#replace and String#replaceAll both compile a new Pattern, create a Matcher from this pattern, and then a new String is created after replacing all matches.\r\n\r\nAt the least, we should avoid the creation of a Pattern each time. We could, for example, use a number of static patterns to make the required changes to the string."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/143044130","html_url":"https://github.com/spring-projects/spring-boot/issues/3996#issuecomment-143044130","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/3996","id":143044130,"user":{"login":"rafal-glowinski","id":6624920,"avatar_url":"https://avatars.githubusercontent.com/u/6624920?v=3","gravatar_id":"","url":"https://api.github.com/users/rafal-glowinski","html_url":"https://github.com/rafal-glowinski","followers_url":"https://api.github.com/users/rafal-glowinski/followers","following_url":"https://api.github.com/users/rafal-glowinski/following{/other_user}","gists_url":"https://api.github.com/users/rafal-glowinski/gists{/gist_id}","starred_url":"https://api.github.com/users/rafal-glowinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafal-glowinski/subscriptions","organizations_url":"https://api.github.com/users/rafal-glowinski/orgs","repos_url":"https://api.github.com/users/rafal-glowinski/repos","events_url":"https://api.github.com/users/rafal-glowinski/events{/privacy}","received_events_url":"https://api.github.com/users/rafal-glowinski/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T20:37:28Z","updated_at":"2015-09-24T20:37:28Z","body":"@wilkinsona do you want an own implementation of replaceAll in Spring's StringUtils? Should be easy to write smth that is good performance wise."}}