惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
B
Blog RSS Feed
美团技术团队
博客园 - 【当耐特】
C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
M
MIT News - Artificial intelligence
aimingoo的专栏
aimingoo的专栏
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
T
Tailwind CSS Blog
Last Week in AI
Last Week in AI
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
Vercel News
Vercel News
P
Proofpoint News Feed
IT之家
IT之家
I
InfoQ
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More

博客园 - 孙展波

美国生活点滴(3) Filing Credit-Report Disputes 新闻组FAQ汇编(1) English随笔(8): 如何翻译“人生的第一桶金” 充分实现Google搜索的潜力 English随笔(7):泼冷水-Pour cold water English随笔(6): Free vs Freedom English随笔(5): “Log Off“ 意思是“注销”么? 美国生活点滴(2):网上购物少了客户服务电话 美国生活点滴(1):租卡车 English随笔(4): getter vs gettor Ctrl+K:插入超链接(Hyperlink) Forbes2004年billionair榜单:Larry Yung中国唯一billionaire 博客“博客堂” 美国人才市场热门外语技能表(汉语位居第二) English随笔(3): Beat Report Windows XP SP2 心得 英语学习资源 PDC2003 资源 睡多久最长寿?
Are embedded resources cached by the framework?
孙展波 · 2004-02-18 · via 博客园 - 孙展波

简单的回答是:Yes.详细的问答如下:

问: I have a RESX file that is marked with 'Embed Resource' build action. While the app is running, it will need to read RESX data multiple times, from different points in the app.  Will the ResourceManager ends up doing disk IO every time, or will the resources be kept in memory?

答:Yes they're cached in a Hashtable, so it hits IO once.