<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ema_hiro</author_name>
  <author_url>https://blog.hatena.ne.jp/ema_hiro/</author_url>
  <blog_title>emahiro/b.log</blog_title>
  <blog_url>https://ema-hiro.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>令和最初のエントリです。 連休前に教えてもらったことについてまとめました。 このエントリに記載する内容については、github の SliceTricks · golang/go Wiki · GitHub に記載されてる内容になります。 go の sliceについて go の slice はポインタ型です。また、go で slice を初期化する際には、通常はメモリアロケーションが走ります。 // sample a := []int{1, 2, 3} b := make([]string, 0, 0) go の slice については Go Slices: usage and interna…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2019%2F05%2F01%2F230118&quot; title=&quot;メモリアロケーションなしで slice をフィルタする - emahiro/b.log&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-01 23:01:18</published>
  <title>メモリアロケーションなしで slice をフィルタする</title>
  <type>rich</type>
  <url>https://ema-hiro.hatenablog.com/entry/2019/05/01/230118</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
