[eigen] Re: Strong inlining is sometimes ignored...
[
Thread Index
|
Date Index
|
More lists.tuxfamily.org/eigen Archives
]
To
: Eigen <
eigen@xxxxxxxxxxxxxxxxxxx
>
Subject
: [eigen] Re: Strong inlining is sometimes ignored...
From
: Hauke Heibel <
hauke.heibel@xxxxxxxxxxxxxx
>
Date
: Thu, 15 Oct 2009 12:03:15 +0200
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=6muikAn3tlWMxSfzfyU3YtNs15gW38KjCxUj7HULog4=; b=kBt5x59J5h+atHvKVVcniiepMSU5wCeUyfR9CWZ6mjYyAUv3ZMoo66vORtH7b986o0 ek1wmImIrnaHFJ6fbNahLpjvsP50D+QKaOZZtJSdoc4vaIZTzjJV2KPqptdwNHEIJI6q 78bKmelctfM25zPitrVsBQoj+S0jAfJQDV8Os=
Domainkey-signature
: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DNwgyiMrV592LuVd44QmGW5Oa6prz1+qUW9xJmXiUb+wEJd8kKXTGg9gg8wGtm8ulV ELlZsSH/1xX9872bju19otdInFkKPPFirNdW7+KeT75y4pylSnnsQ/srdCWniYXp40wU 1plObm/L1K+TeOX4QdAK3EFmur4iLTgo/tgu8=
Ok, next thing. For
template<typename Derived>
template<typename CustomNullaryOp>
EIGEN_STRONG_INLINE const CwiseNullaryOp<CustomNullaryOp, Derived>
MatrixBase<Derived>::NullaryExpr(int size, const CustomNullaryOp& func);
the function is not inlined due to the
ei_assert(IsVectorAtCompileTime);
It might throw an exception and thus the function is according to
http://msdn.microsoft.com/en-us/library/a98sb923%28VS.80%29.aspx
not inlined. I think it is the third rule.
Is that assert really required? We already have a compile time assert checking for the matrix being a vector.
- Hauke
Follow-Ups
:
[eigen] Re: Strong inlining is sometimes ignored...
From:
Hauke Heibel
References
:
[eigen] Strong inlining is sometimes ignored...
From:
Hauke Heibel
[eigen] Re: Strong inlining is sometimes ignored...
From:
Hauke Heibel
Messages sorted by:
[
date
|
thread
]
Prev by Date:
[eigen] Re: Strong inlining is sometimes ignored...
Next by Date:
[eigen] Re: Strong inlining is sometimes ignored...
Previous by thread:
[eigen] Re: Strong inlining is sometimes ignored...
Next by thread:
[eigen] Re: Strong inlining is sometimes ignored...
Mail converted by
MHonArc
2.6.19+
http://listengine.tuxfamily.org/