Skip to content

Dispatcher decompressing data when not needed #31

@dimitrijejankov

Description

@dimitrijejankov

Hi I've been adding stuff to the Dispatcher to get my new algorithm running.
I noticed that the dispatcher is decompressing the data even though it does not use the decompressed data.

In the file
https://github.com/riceplinygroup/plinycompute/blob/master/pdb/src/serverFunctionalities/source/DispatcherServer.cc

line 88 to 95 we are decompressing the data with snappy stored in tempPage. The decompressed result is stored in readToHere. But if we look at the 130 to 136 only the tempPage (the compressed data is sent), thus we are just doing useless work on the dispatcher.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions