[
https://issues.apache.org/jira/browse/AVRO-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762437#action_12762437
]
Henry Robinson commented on AVRO-135:
-------------------------------------
It's pretty easy to call C from Python - there's a very full featured C API
since the standard Python runtime is C based. (see
http://docs.python.org/c-api/). The API takes care of connecting Python calls
to their C equivalents. Then you call into the API to unmarshal the arguments
into C variables and then you can pass them onto the LZF library.
The tricky part is getting reference counting right but if this is a thin layer
between Python and a C LZF library then it probably doesn't need to worry too
much about Python object lifetimes. (Concurrency is also a pain, but again
probably not a big issue here).
> add compression to data files
> -----------------------------
>
> Key: AVRO-135
> URL: https://issues.apache.org/jira/browse/AVRO-135
> Project: Avro
> Issue Type: New Feature
> Components: java, spec
> Reporter: Doug Cutting
>
> We should add support for at least one compression codec to data files.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.