{"action":"created","issue":{"url":"https://api.github.com/repos/numenta/nupic.core/issues/344","labels_url":"https://api.github.com/repos/numenta/nupic.core/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/numenta/nupic.core/issues/344/comments","events_url":"https://api.github.com/repos/numenta/nupic.core/issues/344/events","html_url":"https://github.com/numenta/nupic.core/issues/344","id":58133895,"number":344,"title":"optimize for x86/64 CPUs rather than Neo15","user":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numenta/nupic.core/labels/newbie","name":"newbie","color":"bfe5bf"},{"url":"https://api.github.com/repos/numenta/nupic.core/labels/priority:4","name":"priority:4","color":"207de5"},{"url":"https://api.github.com/repos/numenta/nupic.core/labels/type:enhancement","name":"type:enhancement","color":"006b75"},{"url":"https://api.github.com/repos/numenta/nupic.core/labels/type:optimization","name":"type:optimization","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-18T21:51:25Z","updated_at":"2015-09-23T13:11:50Z","closed_at":null,"body":"There are some optimizations for `Neo15` (the mobile phone?) CPU, I think we should rather focus on common `x86/x64` CPU most of us are using. \r\n\r\nsee https://github.com/numenta/nupic.core/pull/278#discussion-diff-24920363R2819 \r\n"},"comment":{"url":"https://api.github.com/repos/numenta/nupic.core/issues/comments/142594579","html_url":"https://github.com/numenta/nupic.core/issues/344#issuecomment-142594579","issue_url":"https://api.github.com/repos/numenta/nupic.core/issues/344","id":142594579,"user":{"login":"breznak","id":2166111,"avatar_url":"https://avatars.githubusercontent.com/u/2166111?v=3","gravatar_id":"","url":"https://api.github.com/users/breznak","html_url":"https://github.com/breznak","followers_url":"https://api.github.com/users/breznak/followers","following_url":"https://api.github.com/users/breznak/following{/other_user}","gists_url":"https://api.github.com/users/breznak/gists{/gist_id}","starred_url":"https://api.github.com/users/breznak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breznak/subscriptions","organizations_url":"https://api.github.com/users/breznak/orgs","repos_url":"https://api.github.com/users/breznak/repos","events_url":"https://api.github.com/users/breznak/events{/privacy}","received_events_url":"https://api.github.com/users/breznak/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T13:11:50Z","updated_at":"2015-09-23T13:11:50Z","body":"@rcrowder thanks for the heads-up. Yes, it seems to be (almost) resolved. \r\n\r\nThe text from (various occurrences) \r\nhttps://github.com/numenta/nupic.core/blob/master/src/nupic/algorithms/Cells4.cpp#L2782-L2783\r\nshould be placed directly in: \r\nhttps://github.com/numenta/nupic.core/blob/master/src/nupic/algorithms/Cells4.hpp#L221\r\n\r\nAlso, just for \"nicer\" code one could call `std::fill()` instead, which would be optimized to memset when needed. \r\n\r\n"}}