ifduyue
xxtea
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Simplify: remove dead code, C99 init, fix copy-paste bug - Remove unused ctype.h include and XFREE macro - Fix copy-paste bug in _exec (checked hexlify twice instead of hexlify+unhexlify) - Extract _get_buffers helper used by all four functions - Convert to C99 designated initializers and mixed declarations - Add inline to btea, _parse_args, _get_buffers - Remove stale Python 2 porting guide comment - Cast ternary to unsigned to silence -Wsign-compare
simplify
11 hours ago
Simplify: remove dead code, C99 init, fix copy-paste bug - Remove unused ctype.h include and XFREE macro - Fix copy-paste bug in _exec (checked hexlify twice instead of hexlify+unhexlify) - Extract _get_buffers helper shared by encrypt/encrypt_hex/decrypt - Convert to C99 designated initializers and mixed declarations - Use static inline consistently for all internal helpers - Remove stale Python 2 porting guide comment - Cast ternary to unsigned to silence -Wsign-compare
simplify
11 hours ago
Revert Py_ALWAYS_INLINE to static inline Py_ALWAYS_INLINE forces inlining and fails under LTO on some compilers. static inline is sufficient at -O3 and avoids the 'always_inline function might not be inlinable' warning/error. Remove the now-unused compat define.
simplify
11 hours ago
Use Py_ALWAYS_INLINE for internal helpers btea, _parse_args, _get_buffers, _encrypt_impl, _decrypt_impl all benefit from guaranteed inlining. Add compat fallback for Python < 3.11 where Py_ALWAYS_INLINE is not defined.
simplify
11 hours ago
Simplify: remove dead code, fix copy-paste bug, extract _get_buffers - Remove unused ctype.h include and XFREE macro - Fix _exec checking hexlify twice instead of hexlify+unhexlify - Extract _get_buffers helper shared by encrypt/encrypt_hex/decrypt - Remove stale Python 2 porting guide comment
master
12 hours ago
Use C99 initializers and mixed declarations Replace separate declaration+assignment with initializers for d, k[4], retval, retbuf, alen, and rc. Use {NULL} for Py_buffer and {0} for uint32_t arrays. Move declarations to point of first use where possible. Fix decrypt_hex docstring spacing.
master
12 hours ago
Update README.rst
master
12 hours ago
Release v4.0.0
master
12 hours ago
Latest Branches
CodSpeed Performance Gauge
+1%
Simplify: C99 init, remove dead code
#72
11 hours ago
0c91fd6
simplify
CodSpeed Performance Gauge
+35%
fastcall
#71
1 day ago
30182a3
duyue/vectorcall
CodSpeed Performance Gauge
0%
test large data chunk (2MB)
#68
1 day ago
718ac33
duyue/benchmark_huge
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs