<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hrb-takahashi-yu</author_name>
  <author_url>https://blog.hatena.ne.jp/hrb-takahashi-yu/</author_url>
  <blog_title>HRBrain Blog</blog_title>
  <blog_url>https://times.hrbrain.co.jp/</blog_url>
  <categories>
    <anon>Golang</anon>
  </categories>
  <description>この記事は HRBrain Advent Calendar 2021 2日目の記事です。 qiita.com はじめに Goで構造体をバイナリエンコーディングする際、大抵は encoding/json か encoding/gob を使うと思います。 以下の記事を読んで、標準の encoding/binary パッケージを使えば任意の構造体のエンコード・デコード処理を自前で書けることを知りました。 zenn.dev 構造体のエンコード・デコード処理を自前で書くとどれくらい速くなるのか気になったので試してみました。 単純にreflectionを使わない分速くなりそうです。自前で書いたエンコード・…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftimes.hrbrain.co.jp%2Fentry%2F2021%2F12%2F01%2Fgo-struct-encode&quot; title=&quot;Goの構造体のバイナリエンコーディングを速くしたい - HRBrain Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hrb-takahashi-yu/20211128/20211128171253.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-02 09:00:00</published>
  <title>Goの構造体のバイナリエンコーディングを速くしたい</title>
  <type>rich</type>
  <url>https://times.hrbrain.co.jp/entry/2021/12/01/go-struct-encode</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
