eclipse-cyclonedds / cyclonedds-python

Other
54 stars 44 forks source link

Replace vm for key extraction #199

Closed dpotman closed 11 months ago

dpotman commented 11 months ago

This replaces the virtual machine that was used to extract the key from a sample with an implementation that uses Cyclone's cdrstream key extraction. The serializer uses the VM instructions for the type that are generated using the Cyclone's type builder, based on the XTypes type objects that are available in the type meta-data in Python.

Additionally, this PR includes a few related fixes and changes:

Note that this PR depends on https://github.com/eclipse-cyclonedds/cyclonedds/pull/1783 and https://github.com/eclipse-cyclonedds/cyclonedds/pull/1750 (which is related to https://github.com/eclipse-cyclonedds/cyclonedds-python/pull/197).