Join GitHub today
Reduce calls to should_disable #166
Currently, this function (along with its callee
Ideally, we should split the list of functions to hook into two lists: one for functions to hook at runtime, and the other for functions that we manager to hook at loading time. The later could even be a hashtable or lists, but maybe it's a bit overkill, I don't know.
Or we could, for each "native" function, put the names of the ones we're hooking into a hashtable, so when we're entering the hook of one, we can simply check into the hashtable if it's here, and walk the linked-list if it is. If we're doing this, we could split the functions into several lists.
added a commit
Jul 6, 2018