{"action":"created","issue":{"url":"https://api.github.com/repos/mapsme/omim/issues/1530","labels_url":"https://api.github.com/repos/mapsme/omim/issues/1530/labels{/name}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/1530/comments","events_url":"https://api.github.com/repos/mapsme/omim/issues/1530/events","html_url":"https://github.com/mapsme/omim/pull/1530","id":128144508,"number":1530,"title":"[search] Basic cache for FeaturesLayerMatcher between search queries.","user":{"login":"vng","id":175612,"avatar_url":"https://avatars.githubusercontent.com/u/175612?v=3","gravatar_id":"","url":"https://api.github.com/users/vng","html_url":"https://github.com/vng","followers_url":"https://api.github.com/users/vng/followers","following_url":"https://api.github.com/users/vng/following{/other_user}","gists_url":"https://api.github.com/users/vng/gists{/gist_id}","starred_url":"https://api.github.com/users/vng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vng/subscriptions","organizations_url":"https://api.github.com/users/vng/orgs","repos_url":"https://api.github.com/users/vng/repos","events_url":"https://api.github.com/users/vng/events{/privacy}","received_events_url":"https://api.github.com/users/vng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-22T12:14:43Z","updated_at":"2016-01-26T13:31:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/1530","html_url":"https://github.com/mapsme/omim/pull/1530","diff_url":"https://github.com/mapsme/omim/pull/1530.diff","patch_url":"https://github.com/mapsme/omim/pull/1530.patch"},"body":"Посмотрите базовую концепцию. FeaturesLayerMatcher достаточно тяжелый класс, он вычитывает улицы, ПОИ, дома, хранит это в кэше, но это все не сохранялось между запросами. Я сделал чтобы состояние хранилось - стало работать шустрее.\r\n\r\nЭто базовый код, я планирую добавить статистику по кэшу чтобы оценить эффективность и стратегию очистки."},"comment":{"url":"https://api.github.com/repos/mapsme/omim/issues/comments/175012342","html_url":"https://github.com/mapsme/omim/pull/1530#issuecomment-175012342","issue_url":"https://api.github.com/repos/mapsme/omim/issues/1530","id":175012342,"user":{"login":"mpimenov","id":10366009,"avatar_url":"https://avatars.githubusercontent.com/u/10366009?v=3","gravatar_id":"","url":"https://api.github.com/users/mpimenov","html_url":"https://github.com/mpimenov","followers_url":"https://api.github.com/users/mpimenov/followers","following_url":"https://api.github.com/users/mpimenov/following{/other_user}","gists_url":"https://api.github.com/users/mpimenov/gists{/gist_id}","starred_url":"https://api.github.com/users/mpimenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpimenov/subscriptions","organizations_url":"https://api.github.com/users/mpimenov/orgs","repos_url":"https://api.github.com/users/mpimenov/repos","events_url":"https://api.github.com/users/mpimenov/events{/privacy}","received_events_url":"https://api.github.com/users/mpimenov/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T13:31:34Z","updated_at":"2016-01-26T13:31:34Z","body":"LGTM"}}