由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - 用DLL会快些吗?
相关主题
C# on JVM?[转载] 申请.NET 版
Need Help: a very wierd Managed C++ interop problem[公告] DotNet 板的投票结果
Assembly Security Discussionopen source dotNet IDE - sharpdevelop
求教:Call WCF from SQL Server 2008open source dotNet IDE - Software Studio
memory leakMaverick for dotnet: MVC for web publish
Performance Profilingdotnet template engine - NVelocity
baozi for help a simple way C# program[转载] 提名LodossWar, away 为DotNET版副
azure一问memory usage
相关话题的讨论汇总
话题: dll话题: dotnet话题: com话题: use话题: 快些
进入DotNet版参与讨论
1 (共1页)
j*****o
发帖数: 320
1
如果把一些模块放到一个DLL中, 那么程序运行是否会占用较少的内存?
程序运行是否可能快些?
谢谢.
e*********s
发帖数: 200
2
what DLL? Assemblies?
no significant impact on memory usage :)

【在 j*****o 的大作中提到】
: 如果把一些模块放到一个DLL中, 那么程序运行是否会占用较少的内存?
: 程序运行是否可能快些?
: 谢谢.

j*****o
发帖数: 320
3
那在什么情况下用dll?
谢谢。

【在 e*********s 的大作中提到】
: what DLL? Assemblies?
: no significant impact on memory usage :)

st
发帖数: 1685
4
to modulize program
to create service
....

【在 j*****o 的大作中提到】
: 那在什么情况下用dll?
: 谢谢。

j*****o
发帖数: 320
5
OK, Thanks.
Is there a way to load modules from another file when the module
is called?

【在 st 的大作中提到】
: to modulize program
: to create service
: ....

st
发帖数: 1685
6
yes, many many ways, also it depends on how your dll is created,
it could be COM/COM+ object, then you can call the object interface,
or it could be just external library... blah blah... I am no expert, only
use it superficially. :(

【在 j*****o 的大作中提到】
: OK, Thanks.
: Is there a way to load modules from another file when the module
: is called?

j*****o
发帖数: 320
7
就是发现我的程序运行期间占用内存太多, 想找个办法减减肥.

【在 st 的大作中提到】
: yes, many many ways, also it depends on how your dll is created,
: it could be COM/COM+ object, then you can call the object interface,
: or it could be just external library... blah blah... I am no expert, only
: use it superficially. :(

a**y
发帖数: 335
8
There are several ways to share dlls. DotNet prefers assembly.
You can also use COM/COM+, DotNet will create a wrapper for you automatically.
You just simply add them into reference.
But none of these methods could save memory coz DotNet doesn't let you manage
memory by yourself(unless you use unsafe block). DotNet only do garbage
collection whenever it feels like to do so.

【在 j*****o 的大作中提到】
: 就是发现我的程序运行期间占用内存太多, 想找个办法减减肥.
st
发帖数: 1685
9
dll isnt the way to reduce memory usage, what's your algorithm?

【在 j*****o 的大作中提到】
: 就是发现我的程序运行期间占用内存太多, 想找个办法减减肥.
p***n
发帖数: 635
10
Use CLR Profiler
http://www.microsoft.com/downloads/details.aspx?FamilyId=86CE6052-D7F4-4AEB-9B
7A-94635BEEBDDA&displaylang=en

【在 j*****o 的大作中提到】
: 就是发现我的程序运行期间占用内存太多, 想找个办法减减肥.
相关主题
Performance Profiling[转载] 申请.NET 版
baozi for help a simple way C# program[公告] DotNet 板的投票结果
azure一问open source dotNet IDE - sharpdevelop
进入DotNet版参与讨论
st
发帖数: 1685
11
why they take profiler out of vs.net?

【在 p***n 的大作中提到】
: Use CLR Profiler
: http://www.microsoft.com/downloads/details.aspx?FamilyId=86CE6052-D7F4-4AEB-9B
: 7A-94635BEEBDDA&displaylang=en

p***n
发帖数: 635
12
i guess most of the time, a lot of developers in the real world
don't care much about application performance. and CLR profiler
is sort of half-baked as well.

http://www.microsoft.com/downloads/details.aspx?FamilyId=86CE6052-D7F4-4AEB-9B

【在 st 的大作中提到】
: why they take profiler out of vs.net?
st
发帖数: 1685
13
but it was in vs6.. hehe.

【在 p***n 的大作中提到】
: i guess most of the time, a lot of developers in the real world
: don't care much about application performance. and CLR profiler
: is sort of half-baked as well.
:
: http://www.microsoft.com/downloads/details.aspx?FamilyId=86CE6052-D7F4-4AEB-9B

p***n
发帖数: 635
14
oh really? i didn't know about that. was it by a different name?
we used to use some tools from Parasoft back in the old days

http://www.microsoft.com/downloads/details.aspx?FamilyId=86CE6052-D7F4-4AEB-9B

【在 st 的大作中提到】
: but it was in vs6.. hehe.
st
发帖数: 1685
15
it was in vs6 menu option some where... hehe

【在 p***n 的大作中提到】
: oh really? i didn't know about that. was it by a different name?
: we used to use some tools from Parasoft back in the old days
:
: http://www.microsoft.com/downloads/details.aspx?FamilyId=86CE6052-D7F4-4AEB-9B

1 (共1页)
进入DotNet版参与讨论
相关主题
memory usagememory leak
[转载] Re: 我来支持Re: 提名LodossWar, away 为DotNET版副 Performance Profiling
a question about C++.net class librarybaozi for help a simple way C# program
混合语言编程azure一问
C# on JVM?[转载] 申请.NET 版
Need Help: a very wierd Managed C++ interop problem[公告] DotNet 板的投票结果
Assembly Security Discussionopen source dotNet IDE - sharpdevelop
求教:Call WCF from SQL Server 2008open source dotNet IDE - Software Studio
相关话题的讨论汇总
话题: dll话题: dotnet话题: com话题: use话题: 快些