[Mew-dist 15490] Re: 弱気
Kazu Yamamoto ( 山本和彦 )
kazu at example.com
2000年 12月 14日 (木) 19:36:19 JST
From: Shun-ichi GOTO <gotoh at example.com>
Subject: [Mew-dist 15485] Re: 弱気
> それはそうと、defsubst の副作用って何があるんでしたっけ?
> 前に聞いたような気がするけど忘れた。
info より:
Making a function inline makes explicit calls run faster. But it
also has disadvantages. For one thing, it reduces flexibility; if you
change the definition of the function, calls already inlined still use
the old definition until you recompile them. Since the flexibility of
redefining functions is an important feature of Emacs, you should not
make a function inline unless its speed is really crucial.
Another disadvantage is that making a large function inline can
increase the size of compiled code both in files and in memory. Since
the speed advantage of inline functions is greatest for small
functions, you generally should not make large functions inline.
--かず
Mew-dist メーリングリストの案内