<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syu-m-5151</author_name>
  <author_url>https://blog.hatena.ne.jp/syu-m-5151/</author_url>
  <blog_title>じゃあ、おうちで学べる </blog_title>
  <blog_url>https://syu-m-5151.hatenablog.com/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>この記事はRust Advent Calendar 2024 シリーズ3の15日目の記事です。 はじめに みなさん、アプリケーションの初回実行の遅さに悩んでいませんか？「初回の検索が遅い...」「起動に時間がかかる...」「ユーザーから苦情が...」といった問題は、多くの開発者が直面する共通の課題です。 初期化が原因なら、処理を実行するタイミングが改善の手掛かりになります。ただし、起動時の処理を初回アクセスまで遅らせるだけでは、待ち時間が移るだけの場合もあります。今回はRustの遅延初期化を使いつつ、ユーザーが検索する前にバックグラウンドでデータを準備する方法を考えます。 具体例は、郵便番号検…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsyu-m-5151.hatenablog.com%2Fentry%2F2024%2F12%2F14%2F121545&quot; title=&quot;初回実行が遅ければ遅延初期化でやればいいじゃない - RustのTUIアプリケーション改善 - じゃあ、おうちで学べる &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>2024-12-14 12:15:45</published>
  <title>初回実行が遅ければ遅延初期化でやればいいじゃない - RustのTUIアプリケーション改善</title>
  <type>rich</type>
  <url>https://syu-m-5151.hatenablog.com/entry/2024/12/14/121545</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
