开发者

Resource (resx) from an external resources assembly - Disk or Memory IO?

In .Net, When I fetch a resource from a resx in an external resources assem开发者_开发问答bly - does this involve a fetch from Disk or Memory?

Thanks


Assemblies are loaded memmapped.

So the first time you access it it will be a Disk IO. Subsequent calls to the assembly resources will be Memory IO unless the relevant part was not (yet) loaded from disk.

BTW: This is implementation specific. So no guarantee it will always be like this. But it is for Mono and for MS.Net.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜