{"action":"created","issue":{"url":"https://api.github.com/repos/matrusp/matrusp/issues/60","repository_url":"https://api.github.com/repos/matrusp/matrusp","labels_url":"https://api.github.com/repos/matrusp/matrusp/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/matrusp/matrusp/issues/60/comments","events_url":"https://api.github.com/repos/matrusp/matrusp/issues/60/events","html_url":"https://github.com/matrusp/matrusp/pull/60","id":280877362,"number":60,"title":"Aprimoramento na busca de discipinas","user":{"login":"Samlibardi","id":29558451,"avatar_url":"https://avatars0.githubusercontent.com/u/29558451?v=4","gravatar_id":"","url":"https://api.github.com/users/Samlibardi","html_url":"https://github.com/Samlibardi","followers_url":"https://api.github.com/users/Samlibardi/followers","following_url":"https://api.github.com/users/Samlibardi/following{/other_user}","gists_url":"https://api.github.com/users/Samlibardi/gists{/gist_id}","starred_url":"https://api.github.com/users/Samlibardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Samlibardi/subscriptions","organizations_url":"https://api.github.com/users/Samlibardi/orgs","repos_url":"https://api.github.com/users/Samlibardi/repos","events_url":"https://api.github.com/users/Samlibardi/events{/privacy}","received_events_url":"https://api.github.com/users/Samlibardi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-12-11T02:40:03Z","updated_at":"2017-12-19T02:27:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/matrusp/matrusp/pulls/60","html_url":"https://github.com/matrusp/matrusp/pull/60","diff_url":"https://github.com/matrusp/matrusp/pull/60.diff","patch_url":"https://github.com/matrusp/matrusp/pull/60.patch"},"body":"Alterei o algoritmo de busca de disciplinas com base na busca por trigramas ([fonte](https://ii.nlm.nih.gov/MTI/Details/trigram.shtml)) de maneira a:\r\n\r\n- encontrar disciplinas por meio de código ou nome aproximado à string pesquisada\r\n- mostrar resultados mais próximos primeiro (ver #39)\r\n- resolver problemas relacionados ao índice da disciplina (e.g. Cálculo I, II, III, IV agora são encontrados corretamente)\r\n\r\n_OBS: Um snapshot mostrou o uso de 27MB pela lista de trigramas do banco de dados. Isso equivale a 45% de toda a memória usada pelo matrUSP. Não consegui identificar se esse uso é causado por um leak ou se o algoritmo realmente precisa de tanta memória para funcionar. Vou tentar avaliar melhor._ \r\n\r\n_OBS2: não sabia se aqui era pra escrever em inglês ou não_"},"comment":{"url":"https://api.github.com/repos/matrusp/matrusp/issues/comments/352620669","html_url":"https://github.com/matrusp/matrusp/pull/60#issuecomment-352620669","issue_url":"https://api.github.com/repos/matrusp/matrusp/issues/60","id":352620669,"user":{"login":"pedropaulovc","id":577970,"avatar_url":"https://avatars0.githubusercontent.com/u/577970?v=4","gravatar_id":"","url":"https://api.github.com/users/pedropaulovc","html_url":"https://github.com/pedropaulovc","followers_url":"https://api.github.com/users/pedropaulovc/followers","following_url":"https://api.github.com/users/pedropaulovc/following{/other_user}","gists_url":"https://api.github.com/users/pedropaulovc/gists{/gist_id}","starred_url":"https://api.github.com/users/pedropaulovc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedropaulovc/subscriptions","organizations_url":"https://api.github.com/users/pedropaulovc/orgs","repos_url":"https://api.github.com/users/pedropaulovc/repos","events_url":"https://api.github.com/users/pedropaulovc/events{/privacy}","received_events_url":"https://api.github.com/users/pedropaulovc/received_events","type":"User","site_admin":false},"created_at":"2017-12-19T02:27:23Z","updated_at":"2017-12-19T02:27:23Z","author_association":"OWNER","body":"Fiz um redeploy no ambiente de homologação e realmente o problema se foi. :-)"}}
{"actor":{"display_login":"pedropaulovc"}}