J. Nick Koston
888a3c3ea5
feat: improve performance of unmarshalling boolean Variants ( #431 )
...
* feat: improve performance of boolean Variants
There are only two of these type and relatively common
so we can use pre-constructed objects
* chore: tweaks
2025-03-22 16:03:56 -10:00
J. Nick Koston
3b4bac5524
feat: improve unmarshaller performance for byte strings ( #430 )
2025-03-22 15:32:10 -10:00
J. Nick Koston
7e4cab6778
fix: upgrade to ruff 0.1.0 and fix violations ( #422 )
2025-03-13 13:12:13 -10:00
J. Nick Koston
5068e41488
feat: improve performance of signature lookups ( #412 )
...
- Added `SignatureTree` type in a few more places to avoid python lookups
- Improved performance and reduced code to create `Variant` object
2025-03-06 13:10:39 -10:00
J. Nick Koston
2bad648c61
chore: enable some more ruff rules ( #414 )
2025-03-06 12:49:12 -10:00
J. Nick Koston
a589651511
chore: sort imports ( #413 )
2025-03-06 12:27:01 -10:00
J. Nick Koston
488716020e
feat: improve performance of checking SignatureType tokens ( #410 )
...
* feat: improve performance of checking SignatureType tokens
* chore: fixes
2025-03-06 11:44:09 -10:00
J. Nick Koston
0adab935e3
fix: correctly handle big endian data ( #405 )
2025-03-06 11:07:33 -10:00
J. Nick Koston
640e1f8d87
chore: upgrade typing on private modules ( #402 )
...
* chore: upgrade typing on private modules
* chore: typing fixes
2025-03-05 13:05:46 -10:00
J. Nick Koston
89026e3b59
feat: speed up bytearray creation in unmarshaller ( #382 )
2025-02-01 23:37:13 -06:00
J. Nick Koston
586dc233fd
fix: attempting to unmarshall some arrays twice ( #380 )
2025-02-01 22:44:16 -06:00
J. Nick Koston
d376bb13ad
feat: improve performance of unmarshalling variants ( #354 )
2025-01-07 13:00:26 -10:00
J. Nick Koston
b162494aa2
feat: speed up constructing messages from the unmarshaller ( #344 )
2025-01-07 12:30:27 -10:00
J. Nick Koston
5825758991
feat: speed up unmarshalling headers ( #347 )
2025-01-07 11:56:03 -10:00
J. Nick Koston
eda37061c4
chore: switch to ruff ( #339 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-07 09:37:35 -10:00
J. Nick Koston
42a786b23f
chore: drop Python 3.8 support as it has reached EOL ( #338 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-07 09:22:28 -10:00
J. Nick Koston
fa48bc025c
chore: drop python 3.7 support ( #284 )
2024-06-26 07:44:20 +02:00
J. Nick Koston
5c8bfe5e15
feat: speed up unpacking arrays ( #257 )
2023-09-27 09:25:24 -05:00
J. Nick Koston
5aed075166
feat: speed up unmarshalling message body ( #255 )
2023-09-20 11:14:59 +02:00
J. Nick Koston
dd74a8409d
feat: speed up unmarshalling Variants ( #254 )
2023-09-20 10:27:13 +02:00
J. Nick Koston
f9b61b8bc7
feat: speed up readers in the unmarshall path ( #253 )
2023-09-13 13:21:25 -05:00
J. Nick Koston
e4cae13e1a
feat: speed up unmarshaller ( #250 )
2023-09-11 21:43:34 -05:00
J. Nick Koston
5f5a150ca0
feat: speed up unmarshalling by skipping unused unix_fds header ( #246 )
2023-09-10 15:13:17 -05:00
J. Nick Koston
da30b04a15
feat: reduce overhead to reset between messages ( #245 )
2023-09-10 14:49:02 -05:00
J. Nick Koston
6f6f5f86c0
fix: handle multiple flag bits when unmarshalling ( #241 )
2023-09-07 10:16:07 -05:00
J. Nick Koston
b8d0e9be4c
feat: small speed up to the unmarshaller ( #238 )
2023-09-06 11:26:08 -05:00
J. Nick Koston
04d6451157
feat: speed up Message creation and callbacks ( #217 )
2023-08-02 08:11:54 -10:00
J. Nick Koston
e0e87ec16c
feat: optimize passive bluez message unmarshaller ( #216 )
2023-08-02 05:36:53 -10:00
J. Nick Koston
c933be7095
fix: avoid double buffering when using asyncio reader without negotiate_unix_fd ( #213 )
2023-07-27 22:46:29 -05:00
J. Nick Koston
43b3d48c89
fix: cython3 compat ( #208 )
2023-07-24 11:04:28 -05:00
J. Nick Koston
e5d355ff40
feat: improve performance of reading from the socket during unmarshall ( #200 )
2023-05-03 17:20:50 -05:00
J. Nick Koston
3dc98be7e9
feat: improve unmarshall performance ( #199 )
2023-04-20 14:31:51 -10:00
J. Nick Koston
830183e188
fix: cleanup typing in marshaller and unmarshaller ( #190 )
2022-12-24 09:42:10 -10:00
J. Nick Koston
fb0cc35848
feat: speed up processing bluez passive advertisements ( #186 )
2022-12-09 08:45:55 -10:00
J. Nick Koston
98d5c5aec2
feat: add unmarshaller cython typing for SignatureType and SignatureTree ( #168 )
2022-11-17 14:59:25 -06:00
J. Nick Koston
1e32f284cd
fix: small fixes for typing with older python versions ( #167 )
2022-11-17 14:19:05 -06:00
J. Nick Koston
7ed453f31a
feat: add optimized reader for GetManagedObjects ( #152 )
2022-11-04 19:03:32 +01:00
J. Nick Koston
b81de4553f
feat: refactor message_reader to avoid python wrappers ( #147 )
2022-11-04 09:12:50 +01:00
J. Nick Koston
79d52a50bd
feat: optimize unmarshaller by dropping exception that was only used internally ( #145 )
2022-11-04 00:10:29 +01:00
J. Nick Koston
f438c369bd
feat: add cython def for unmarshaller read_sock for fd passing ( #143 )
2022-11-03 22:13:26 +01:00
J. Nick Koston
8ab1f9d0b3
fix: correctly fallback to pure python when cython is missing ( #130 )
2022-10-31 05:56:02 -05:00
J. Nick Koston
61217819fb
feat: speed up decoding headers by avoiding unicode checks ( #125 )
2022-10-29 13:52:22 -05:00
J. Nick Koston
09822a59ff
feat: add optimized parser for InterfacesRemoved ( #123 )
2022-10-29 10:06:40 -05:00
J. Nick Koston
c05a27aef9
feat: optimize for interfaces added messages ( #122 )
2022-10-29 00:14:32 -05:00
J. Nick Koston
52881d9054
feat: add optimized reader for uint16 ( #121 )
2022-10-28 23:24:42 -05:00
J. Nick Koston
5b32072934
feat: speed up unmarshaller with common signature trees ( #120 )
...
Co-authored-by: David Lechner <david@lechnology.com>
2022-10-28 17:19:18 -05:00
J. Nick Koston
24dd9d9742
feat: inline cast uint32 and int16 to speed up unmarshall ( #115 )
2022-10-27 13:34:32 -05:00
J. Nick Koston
e1836b2034
feat: speed up unmarshall ( #114 )
2022-10-27 10:47:42 -05:00
J. Nick Koston
8f7f982a75
feat: speed up unmarshaller ( #113 )
2022-10-26 14:07:22 -05:00
J. Nick Koston
2443cf9990
feat: speed up unmarshaller ( #109 )
2022-10-19 15:51:36 -05:00