JackieTien97 opened a new pull request, #15111:
URL: https://github.com/apache/iotdb/pull/15111

   If all seq data, and compaction is well done, we will only need to get one 
TimeSeriesMetadata to calcuate count for each device. However, according to the 
profiler result, we found a lot of overhead in SeriesScanUtil, in this pr we 
will try to save the useless code execution.
   1. needless set in initQueryDatasource in some cases
   2. save device.toString() if cache hit in TimeSeriesMetadataCache
   3. use result of map.get() to judge whether a key exists instead of using 
map,containsKey before calling map.gett
   
   
![image](https://github.com/user-attachments/assets/ea1b56d1-a943-4d2b-af89-5070fabc05ad)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to