Inline MemoryContextSwitchTo? - Mailing list pgsql-hackers

From Tom Lane
Subject Inline MemoryContextSwitchTo?
Date
Msg-id 17354.1107731136@sss.pgh.pa.us
Whole thread Raw
Responses Re: Inline MemoryContextSwitchTo?  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-hackers
Can anyone think of a reason we aren't inlining MemoryContextSwitchTo()
in GCC builds, similarly to the way list_head() et al are handled?

It wouldn't be a huge gain, but I consistently see MemoryContextSwitchTo
eating a percent or three of most profiles.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: Patch Count?
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Patch Count?