mapleFU commented on PR #39403:
URL: https://github.com/apache/arrow/pull/39403#issuecomment-1932308581

   ```c++
   void DefLevelsToBitmap(const int16_t* def_levels, int64_t num_def_levels,
                          LevelInfo level_info, ValidityBitmapInputOutput* 
output) {
     // It is simpler to rely on rep_level here until PARQUET-1899 is done and 
the code
     // is deleted in a follow-up release.
     if (level_info.rep_level > 0) {
   #if defined(ARROW_HAVE_RUNTIME_BMI2)
       if (CpuInfo::GetInstance()->HasEfficientBmi2()) {
         return DefLevelsToBitmapBmi2WithRepeatedParent(def_levels, 
num_def_levels,
                                                        level_info, output);
       }
   #endif
       standard::DefLevelsToBitmapSimd</*has_repeated_parent=*/true>(
           def_levels, num_def_levels, level_info, output);
     } else {
       standard::DefLevelsToBitmapSimd</*has_repeated_parent=*/false>(
           def_levels, num_def_levels, level_info, output);
     }
   }
   ```
   
   @pitrou is bmi2 enabled in `DefinitionLevelsToBitmapRepeated` benchmark?


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