{"action":"created","issue":{"url":"https://api.github.com/repos/mapsme/omim/issues/443","labels_url":"https://api.github.com/repos/mapsme/omim/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/443/comments","events_url":"https://api.github.com/repos/mapsme/omim/issues/443/events","html_url":"https://github.com/mapsme/omim/pull/443","id":114809289,"number":443,"title":"Router freezing fix.","user":{"login":"gardster","id":1862559,"avatar_url":"https://avatars.githubusercontent.com/u/1862559?v=3","gravatar_id":"","url":"https://api.github.com/users/gardster","html_url":"https://github.com/gardster","followers_url":"https://api.github.com/users/gardster/followers","following_url":"https://api.github.com/users/gardster/following{/other_user}","gists_url":"https://api.github.com/users/gardster/gists{/gist_id}","starred_url":"https://api.github.com/users/gardster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gardster/subscriptions","organizations_url":"https://api.github.com/users/gardster/orgs","repos_url":"https://api.github.com/users/gardster/repos","events_url":"https://api.github.com/users/gardster/events{/privacy}","received_events_url":"https://api.github.com/users/gardster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-03T12:55:26Z","updated_at":"2015-11-03T15:30:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapsme/omim/pulls/443","html_url":"https://github.com/mapsme/omim/pull/443","diff_url":"https://github.com/mapsme/omim/pull/443.diff","patch_url":"https://github.com/mapsme/omim/pull/443.patch"},"body":"https://trello.com/c/pALZvBhF/2021--\r\nФикс подтормаживания роутинга после первого обновления позиции на длинных маршрутах.\r\nФикс связан с ограничением глубины просмотра точек маршрута, где мы ищем камеры. Раньше такого ограничения не было и при первом поиске мог быть проверен и весь маршрут, если на нём не было ни одной камеры.\r\nСейчас проверяется только kSpeedCameraLookAheadCount количество точек (50). Количество точек менее надёжная проверка, чем длина проверенного участка, но она значительно более быстрая. Каждое обновление позиции будут проверяться новые 50 точек пока не найдётся камера или маршрут не закончится. Таким образом за несколько обновлений позиции алгоритм сможет просмотреть весь маршрут."},"comment":{"url":"https://api.github.com/repos/mapsme/omim/issues/comments/153389109","html_url":"https://github.com/mapsme/omim/pull/443#issuecomment-153389109","issue_url":"https://api.github.com/repos/mapsme/omim/issues/443","id":153389109,"user":{"login":"ygorshenin","id":454567,"avatar_url":"https://avatars.githubusercontent.com/u/454567?v=3","gravatar_id":"","url":"https://api.github.com/users/ygorshenin","html_url":"https://github.com/ygorshenin","followers_url":"https://api.github.com/users/ygorshenin/followers","following_url":"https://api.github.com/users/ygorshenin/following{/other_user}","gists_url":"https://api.github.com/users/ygorshenin/gists{/gist_id}","starred_url":"https://api.github.com/users/ygorshenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ygorshenin/subscriptions","organizations_url":"https://api.github.com/users/ygorshenin/orgs","repos_url":"https://api.github.com/users/ygorshenin/repos","events_url":"https://api.github.com/users/ygorshenin/events{/privacy}","received_events_url":"https://api.github.com/users/ygorshenin/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T15:30:32Z","updated_at":"2015-11-03T15:30:32Z","body":"OK конечно, хотя идея хоть что-то читать на UI потоке меня не радует."}}