{"type":"rich","author_name":"gfx","title":"XS\u3067\u5171\u6709\u6587\u5b57\u5217\u3092\u6d3b\u7528\u3059\u308b","provider_url":"https://hatena.blog","height":"190","width":"100%","provider_name":"Hatena Blog","description":"Perl 5.8\u4ee5\u964d\u306b\u306f\u5171\u6709\u6587\u5b57\u5217\u3068\u3044\u3046\u30e1\u30ab\u30cb\u30ba\u30e0\u304c\u3042\u308a\uff0c\u975e\u5e38\u306b\u9650\u5b9a\u7684\u306a\u304c\u3089\uff0c\u3046\u307e\u304f\u4f7f\u7528\u3059\u308b\u3068\u30e1\u30e2\u30ea\u3068\u901f\u5ea6\u306e\u53cc\u65b9\u3092\u7bc0\u7d04\u3067\u304d\u308b\u3002 \u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\uff1a SV* sv = newSVpvn_share(pv, len, hash); SV* sv = newSVpvs_share(\"...\"); \u3053\u308c\u3067sv\u306e\u6587\u5b57\u5217\u90e8\u5206\u304c\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u5168\u4f53\u3067\u5171\u6709\u3055\u308c\u308b\u305f\u3081\uff0c\u540c\u3058\u6587\u5b57\u5217\u3092\u8907\u6570\u500b\u751f\u6210\u3057\u3066\u3082malloc(3)\u306f\u4e00\u5ea6\u3067\u6e08\u3080\u3002\u5b9f\u969b\u306b\u306f\uff0c\u5171\u6709\u6587\u5b57\u5217SV\u306e\u751f\u6210\u901f\u5ea6\u305d\u306e\u3082\u306e\u306f\u901a\u5e38\u306e\u6587\u5b57\u5217SV\u3088\u308a\u3082\u9045\u3044\u3053\u3068\u304c\u3042\u308b\u3002\u3057\u304b\u3057\uff0c\u5171\u6709\u6587\u5b57\u5217\u306e\u771f\u4fa1\u306f\uff0c\u30cf\u30c3\u30b7\u30e5\u30ad\u30fc\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u969b\u306b\u767a\u63ee\u3055\u308c\u308b\u3002 \u30cf\u30c3\u30b7\u30e5\u304b\u3089\u30ad\u30fc\u3092\u691c\u7d22\u3059\u308b\u969b\u306b\u306f\u30ad\u30fc\u3068\u2026","version":"1.0","url":"https://gfx.hatenadiary.org/entry/20090508/1241756870","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgfx.hatenadiary.org%2Fentry%2F20090508%2F1241756870\" title=\"XS\u3067\u5171\u6709\u6587\u5b57\u5217\u3092\u6d3b\u7528\u3059\u308b - Islands in the byte stream (legacy)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://gfx.hatenadiary.org/","published":"2009-05-08 13:27:50","author_url":"https://blog.hatena.ne.jp/gfx/","categories":["Perl"],"image_url":null,"blog_title":"Islands in the byte stream (legacy)"}