You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2019/12/04 09:12:26 UTC
[GitHub] [incubator-iotdb] JackieTien97 opened a new pull request #626:
Change the return content in TSQueryDataSet and remove the row record in
IoTDBQueryResultSet
JackieTien97 opened a new pull request #626: Change the return content in TSQueryDataSet and remove the row record in IoTDBQueryResultSet
URL: https://github.com/apache/incubator-iotdb/pull/626
There is no need to construct a row record every time the next() function is called, we can extract the value from the corresponding value byte buffer.
Before, we use a byte size bool to indicate whether it is a null value, but the null values are rare, so the space is wasted.
Now, I use a bitmap to indicate whether it is a null value, in this way, each value only consumes extra one bit size instead of one byte size.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services