Flash:运行时共享库 - 内存优势?
假设我有两个应用程序在同一页面上运行。我已将库编译到 SWF 文件中:
假设是
MemoryFootPrint(App A) = App A SWF + Libraries
MemoryFootPrint(App B) = App B SWF + Libraries
这样:
MemoryFootPrint(total) = MemoryFootPrint(App A) + MemoryFootPrint(App B)
我想知道使用 RSL 是否会降低我的两个应用程序的内存占用量。他们会共享相同的库吗?内存占用是否是:
MemoryFootPrint(total) = App A SWF + App B SWF + Libraries
或者
MemoryFootPrint(total) = App A SWF + App B SWF + Libraries + Libraries
RSL 的目的只是改善下载时间(通过缓存)还是还降低应用程序的内存占用?
Suppose that I have two applications running on the same page. I have the Libraries compiled into the SWF file:
Suppose
MemoryFootPrint(App A) = App A SWF + Libraries
MemoryFootPrint(App B) = App B SWF + Libraries
So:
MemoryFootPrint(total) = MemoryFootPrint(App A) + MemoryFootPrint(App B)
I am wondering if using RSL will lower the memory footprint of my two applicaitons. Will they share the same libraries. Will the memory footprint be:
MemoryFootPrint(total) = App A SWF + App B SWF + Libraries
OR
MemoryFootPrint(total) = App A SWF + App B SWF + Libraries + Libraries
Is RSL intended to just improve the download time (via caching) or does it also lower the memory foot print of an applicaiton?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
adobe 页面 并未提及 RSI 和内存占用除了说:
由此我假设使用 RSI 不会带来内存优势。
The adobe page does not speak about RSIs and the memory footprint other than saying:
From this I am assuming that there is no memory benefit from using RSIs.