summaryrefslogtreecommitdiff
path: root/Cython/Utility/StringTools.c
Commit message (Expand)AuthorAgeFilesLines
* Implement support for the new PyLong struct layout in Py3.12a7. (GH-5353)scoder2023-04-051-3/+3
* Fix PyLong digits access in CPython 3.12.Stefan Behnel2023-02-131-1/+1
* Refactor module state to always use struct (#5056)da-woods2022-12-011-6/+0
* Fix GCC -Wconversion warnings in C utility code (GH-4854)Lisandro Dalcin2022-06-211-1/+1
* Merge branch '0.29.x'Stefan Behnel2022-04-071-1/+1
|\
| * Stop using "PyBytesObject.ob_shash" in Py3.11, where it is deprecated. It was...Stefan Behnel2022-04-071-1/+1
| * Make "__Pyx_UnicodeContainsUCS4()" work for WCHAR unicode strings with Py3.9+...scoder2021-04-251-9/+26
| * Disable Py_UNICODE fallback for __Pyx_UnicodeContainsUCS4() in Py3.9 since Py...Stefan Behnel2020-07-071-0/+6
| * Really only use PyUnicode_FromUnicode() when needed (GH-3697)scoder2020-07-071-2/+7
| * Add missing name substitution in __Pyx_PyUnicode_Substring() utility code.Stefan Behnel2020-07-061-0/+1
| * Avoid calling PyUnicode_FromUnicode() in Py3 (GH-3721)Victor Stinner2020-07-051-1/+1
* | Silence C compiler warnings about unused variables in a universal way (GH-4162)Max Bachmann2021-05-151-3/+5
* | Make "__Pyx_UnicodeContainsUCS4()" work for WCHAR unicode strings with Py3.9+...scoder2021-04-251-9/+26
* | Disable Py_UNICODE fallback for __Pyx_UnicodeContainsUCS4() in Py3.9 since Py...Stefan Behnel2020-07-051-0/+6
* | Really only use PyUnicode_FromUnicode() when needed (GH-3697)scoder2020-06-301-2/+7
* | Merge branch '0.29.x'Stefan Behnel2020-06-111-2/+4
|\ \ | |/
| * Avoid calling PyUnicode_FromUnicode() in Py3.Stefan Behnel2020-06-111-2/+4
| * Avoid integer overflow when decoding bytes/charptr (GH-3535)Sam Sneddon2020-04-201-4/+4
| * Avoid integer overflow when computing unicode substring (GH-3532)Sam Sneddon2020-04-201-2/+1
| * Fix incompatibility with C89true-pasky2019-01-191-1/+1
* | Avoid integer overflow when decoding bytes/charptr (GH-3535)Sam Sneddon2020-04-201-4/+4
* | Do not create a new unicode string object when taking a fully slice.Stefan Behnel2020-04-201-0/+2
* | Avoid useless C-API call to get a constant.Stefan Behnel2020-04-201-1/+2
* | Avoid integer overflow when computing unicode substring (GH-3532)Sam Sneddon2020-04-201-2/+1
* | Optimize builtin str() calls (GH-3478)William Ayd2020-04-021-0/+19
* | Avoid relying on signed integer overflow in f-string joining helper function.Stefan Behnel2020-03-311-3/+6
* | Add LIMITED_API support and remove static state (GH-3223)Eddie Elizondo2020-01-121-16/+34
* | Return Py_ssize_t instead of size_t for len(char*) and len(Py_UNICODE*).Stefan Behnel2019-07-241-0/+34
* | Call ".tp_repr()" instead of ".tp_str()" when formatting builtin types, since...Stefan Behnel2019-05-061-3/+4
* | Fix incompatibility with C89true-pasky2019-01-171-1/+1
|/
* Optimise internal bounds checks like "0 <= i <= limit" using a single unsigne...smarter_bounds_checksStefan Behnel2018-10-141-8/+8
* Fix reference leak in Py2 string comparison code when comparing str with unic...Stefan Behnel2018-07-231-0/+3
* Fix C compiler warning about implicit conversion from signed to unsigned.Stefan Behnel2018-03-311-1/+1
* Optimise calls to the unicode() builtin.Stefan Behnel2018-01-201-0/+24
* Speed up some dict lookups in Py3.5+ by calling the faster "_PyDict_GetItem_K...Stefan Behnel2017-10-081-1/+1
* Split UnicodeContains helper to reduce inlined code.Stefan Behnel2017-09-121-25/+32
* Remove support and special handling code for Py3.2.Stefan Behnel2017-08-251-1/+1
* Add missing cast to avoid a compiler warning on platforms where char is unsig...Stefan Behnel2017-08-191-1/+1
* Split uncommon case from unicode/bytes.endswith() implementation to suggest i...Stefan Behnel2017-08-191-35/+44
* Repair incorrect C-API signature usage for PyUnicode_DecodeUTF16() when optim...Stefan Behnel2017-05-051-0/+17
* Remove unused variable.Robert Bradshaw2017-01-031-1/+0
* clean up string comparison optimisation from github #1571Stefan Behnel2017-01-021-19/+21
* Merge pull request #1571 from klaussfreire/optimize_string_comparisonsscoder2017-01-021-0/+26
|\
| * Use CYTHON_PEP393_ENABLED to find the right hashClaudio Freire2017-01-021-5/+5
| * Fix py3 unicode comparisonClaudio Freire2017-01-021-0/+8
| * Relocate hash check to improve worst caseClaudio Freire2016-12-291-7/+7
| * Initialize hashes during string init to enable hash-compare optimizationClaudio Freire2016-12-291-0/+4
| * Optimize string comparisonsClaudio Freire2016-12-291-0/+14
* | Fix void* arithmetic for MSVC.Robert Bradshaw2016-10-121-1/+1
* | fix function signature usage in CPy3.3 (non-public C-API function)Stefan Behnel2016-08-211-0/+8