Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Add a mostly cythonized version of the framed transport. #66

Merged
merged 1 commit into from
Dec 1, 2014

Conversation

mikekap
Copy link
Contributor

@mikekap mikekap commented Dec 1, 2014

Just use the TCyBufferedTransport to wrap the framed transport. This gets most of the performance since there's ~ 1 call to read/write to the framed transport anyway.

Also simplify TFramedTransport - don't buffer writes; just wrap the transport in a buffered transport.
Also don't rewrite sendall.

Use the TCyBufferedTransport to wrap the framed transport. This gets most of the performance since there's ~ 1 call to read/write to the framed transport anyway.
Also simplify TFramedTransport - don't buffer writes; just wrap the transport in a buffered transport.
Also don't rewrite sendall.
lxyu added a commit that referenced this pull request Dec 1, 2014
Add a mostly cythonized version of the framed transport.
@lxyu lxyu merged commit 43574b9 into Thriftpy:develop Dec 1, 2014
@lxyu
Copy link
Contributor

lxyu commented Dec 1, 2014

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants