lkml.org 
[lkml]   [1997]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ntohl and others
Date
> These macros are needed in the networking layer where they'd hurt network
> speed if they became a function.
>
> GCC isn't all that good at converting functions to inline code....

GCC should always generate the same code for both cases. It near enough
types the inline function in and compiles it again



\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.039 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site