Brian Ingerson <[EMAIL PROTECTED]> writes:

[...]

> PS Neil Watkiss just pointed out to me that if I allowed the C 'inline'
> keyword to be used, the compiler could inline the C function in the XS
> wrapper. But he also points out that the complexity of getting from Perl
> to an XSub is an order of magnitude greater than the extra C function
> call. 

A small problem: C doesn't have an `inline' keyword (unless it's a
brand-new C9X/C0X thing, in which case it'll take a few years until
"most" compilers will support it).

C++ has such a keyword.

-- 
Ariel Scolnicov        |"GCAAGAATTGAACTGTAG"            | [EMAIL PROTECTED]
Compugen Ltd.          |Tel: +972-2-5713025 (Jerusalem) \ We recycle all our Hz
72 Pinhas Rosen St.    |Tel: +972-3-7658117 (Main office)`---------------------
Tel-Aviv 69512, ISRAEL |Fax: +972-3-7658555    http://3w.compugen.co.il/~ariels

Reply via email to