• Michael Widenius's avatar
    Speedups: · de1765fb
    Michael Widenius authored
    - Optimize away calls to hp_rec_hashnr() by cashing hash
    - Try to get more rows / block (to minimize overhead of HP_PTRS) in HEAP tables.
    
    
    storage/heap/_check.c:
      Optimize away calls to hp_rec_hashnr() by cashing hash.
      Print cleanups
    storage/heap/heapdef.h:
      Added place to hold calculated hash value for row
    storage/heap/hp_create.c:
      Try to get more rows / block (to minimize overhead of HP_PTRS)
    storage/heap/hp_delete.c:
      Optimize away calls to hp_rec_hashnr() by cashing hash.
    storage/heap/hp_hash.c:
      Optimize away calls to hp_rec_hashnr() by cashing hash.
      Remove some not needed DBUG_PRINT
    storage/heap/hp_test2.c:
      Increased max table size as now heap tables takes a bit more space (a few %)
    storage/heap/hp_write.c:
      Optimize away calls to hp_rec_hashnr() by cashing hash.
      Remove duplicated code
      More DBUG_PRINT
    storage/maria/ma_create.c:
      More DBUG_PRINT
    de1765fb
hp_delete.c 5.72 KB