From 7963580d72a358975133f86f01de2d2eab08ba38 Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Fri, 13 Jul 2018 10:36:50 +0200 Subject: Massively optimize how rules are handled This commit does a lot of things: - Use hashtables instead of lists to store the rules - Rules that can be applied at launch time won't be tried at runtime - Improve feedback when writing nonsensical rules - Make intensive use of `zend_string` instead of `char*`--- src/sp_execute.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_execute.h') diff --git a/src/sp_execute.h b/src/sp_execute.h index fcd0e11..d9eeee8 100644 --- a/src/sp_execute.h +++ b/src/sp_execute.h @@ -2,6 +2,6 @@ #define SP_EXECUTE_H int hook_execute(void); -char *get_eval_filename(const char * const filename); +zend_string *get_eval_filename(const char * const filename); #endif /* SP_EXECUTE_H */ -- cgit v1.3