{"type":"rich","blog_url":"https://any-programming.hatenablog.com/","categories":["C++"],"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/any-programming/","blog_title":"\u4f55\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","provider_name":"Hatena Blog","width":"100%","description":"SSE\u3084AVX\u3092\u5229\u7528\u3057\u3066\u51e6\u7406\u3092\u9ad8\u901f\u5316\u3059\u308b\u969b\u306b\u3001\u30e1\u30e2\u30ea\u9818\u57df\u304c\u30a2\u30e9\u30a4\u30f3\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30a2\u30e9\u30a4\u30f3\u3055\u308c\u305f\u9818\u57df\u3092\u78ba\u4fdd\u3059\u308b\u3060\u3051\u3067\u3042\u308c\u3070_mm_malloc\u3067\u53ef\u80fd\u3067\u3059\u304c\u3001_mm_free\u3092\u81ea\u5206\u3067\u547c\u3076\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4eca\u56de\u306fstd::vector\u3067\u30a2\u30e9\u30a4\u30f3\u3055\u308c\u305f\u9818\u57df\u3092\u78ba\u4fdd\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 IsAligned \u307e\u305a\u7b2c\u4e00\u306b\u30e1\u30e2\u30ea\u304c\u30a2\u30e9\u30a4\u30f3\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u95a2\u6570\u304c\u5fc5\u8981\u3067\u3059\u3002\u4e2d\u8eab\u306f\u81f3\u3063\u3066\u7c21\u5358\u3067\u3001\u30a2\u30c9\u30ec\u30b9\u5024\u304cN\u3067\u5272\u308a\u5207\u308c\u308c\u3070\u3001NByte\u3067\u30a2\u30e9\u30a4\u30f3\u3055\u308c\u3066\u3044\u307e\u3059\u3002 bool IsAligned(void* p, int n) { return (int)p % n == 0; } AlignedAl\u2026","title":"\u30a2\u30e9\u30a4\u30f3\u3055\u308c\u305fstd::vector","url":"https://any-programming.hatenablog.com/entry/2017/04/28/122846","author_name":"any-programming","published":"2017-04-28 12:28:46","image_url":null,"height":"190","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fany-programming.hatenablog.com%2Fentry%2F2017%2F04%2F28%2F122846\" title=\"\u30a2\u30e9\u30a4\u30f3\u3055\u308c\u305fstd::vector - \u4f55\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}