Inline MemoryContextSwitchTo?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@postgreSQL.org
Date: 2005-02-06T23:05:36Z
Lists: 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