{"action":"created","issue":{"url":"https://api.github.com/repos/paritytech/bigint/issues/36","repository_url":"https://api.github.com/repos/paritytech/bigint","labels_url":"https://api.github.com/repos/paritytech/bigint/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/paritytech/bigint/issues/36/comments","events_url":"https://api.github.com/repos/paritytech/bigint/issues/36/events","html_url":"https://github.com/paritytech/bigint/pull/36","id":313398096,"number":36,"title":"Optionally use assembly on stable","user":{"login":"Vurich","id":29733394,"avatar_url":"https://avatars0.githubusercontent.com/u/29733394?v=4","gravatar_id":"","url":"https://api.github.com/users/Vurich","html_url":"https://github.com/Vurich","followers_url":"https://api.github.com/users/Vurich/followers","following_url":"https://api.github.com/users/Vurich/following{/other_user}","gists_url":"https://api.github.com/users/Vurich/gists{/gist_id}","starred_url":"https://api.github.com/users/Vurich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vurich/subscriptions","organizations_url":"https://api.github.com/users/Vurich/orgs","repos_url":"https://api.github.com/users/Vurich/repos","events_url":"https://api.github.com/users/Vurich/events{/privacy}","received_events_url":"https://api.github.com/users/Vurich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-11T16:26:28Z","updated_at":"2018-04-12T09:52:10Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/paritytech/bigint/pulls/36","html_url":"https://github.com/paritytech/bigint/pull/36","diff_url":"https://github.com/paritytech/bigint/pull/36.diff","patch_url":"https://github.com/paritytech/bigint/pull/36.patch"},"body":"This allows use of assembly on stable by binding to C. This is only an improvement for `mul`, since the increased speed from ASM is dwarfed by the overhead of calling a function otherwise. This method has the benefit of not requiring the `asm!` macro to be stablised (unlikely to be any time soon, since the syntax is tied to LLVM's syntax and LLVM doesn't guarantee that the syntax remains stable). This is approximately 10% faster for multiplication, and likely will only be useful for multiplication. You can imagine that if cross-language inlining lands (which it's weird that Rust doesn't support, it seems to be the only LLVM-based language that doesn't) this would be just as fast as using `asm!`. This flag isn't enabled by default, meaning that you must enable it manually.\r\n\r\nIn order to avoid name collisions from using multiple versions of the library, I generate code in the build script."},"comment":{"url":"https://api.github.com/repos/paritytech/bigint/issues/comments/380745402","html_url":"https://github.com/paritytech/bigint/pull/36#issuecomment-380745402","issue_url":"https://api.github.com/repos/paritytech/bigint/issues/36","id":380745402,"user":{"login":"Vurich","id":29733394,"avatar_url":"https://avatars0.githubusercontent.com/u/29733394?v=4","gravatar_id":"","url":"https://api.github.com/users/Vurich","html_url":"https://github.com/Vurich","followers_url":"https://api.github.com/users/Vurich/followers","following_url":"https://api.github.com/users/Vurich/following{/other_user}","gists_url":"https://api.github.com/users/Vurich/gists{/gist_id}","starred_url":"https://api.github.com/users/Vurich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vurich/subscriptions","organizations_url":"https://api.github.com/users/Vurich/orgs","repos_url":"https://api.github.com/users/Vurich/repos","events_url":"https://api.github.com/users/Vurich/events{/privacy}","received_events_url":"https://api.github.com/users/Vurich/received_events","type":"User","site_admin":false},"created_at":"2018-04-12T09:52:10Z","updated_at":"2018-04-12T09:52:10Z","author_association":"NONE","body":"Fixed"}}
{"actor":{"display_login":"Vurich"}}