Inline functions in adblock for 0.5 percent speedup
This commit is contained in:
parent
0d665e2d00
commit
633b7ed294
1 changed files with 3 additions and 3 deletions
|
@ -591,7 +591,7 @@ adblock_browser_populate_tool_menu_cb (MidoriBrowser* browser,
|
|||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
static inline gboolean
|
||||
adblock_check_filter_options (GRegex* regex,
|
||||
const gchar* opts,
|
||||
const gchar* req_uri,
|
||||
|
@ -607,7 +607,7 @@ adblock_check_filter_options (GRegex* regex,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
static inline gboolean
|
||||
adblock_is_matched_by_pattern (const gchar* req_uri,
|
||||
const gchar* page_uri)
|
||||
{
|
||||
|
@ -634,7 +634,7 @@ adblock_is_matched_by_pattern (const gchar* req_uri,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
static inline gboolean
|
||||
adblock_is_matched_by_key (const gchar* opts,
|
||||
const gchar* req_uri,
|
||||
const gchar* page_uri)
|
||||
|
|
Loading…
Reference in a new issue