mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
needforspeed: replace improvements, changed to Py_LOCAL_INLINE
where appropriate
This commit is contained in:
parent
94b8c122fd
commit
c2d29c5a6d
6 changed files with 55 additions and 41 deletions
|
|
@ -7,7 +7,7 @@
|
|||
#error must include "stringlib/fastsearch.h" before including this module
|
||||
#endif
|
||||
|
||||
Py_LOCAL(Py_ssize_t)
|
||||
Py_LOCAL_INLINE(Py_ssize_t)
|
||||
stringlib_count(const STRINGLIB_CHAR* str, Py_ssize_t str_len,
|
||||
const STRINGLIB_CHAR* sub, Py_ssize_t sub_len)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue