Commit History

Autor SHA1 Mensaxe Data
  Ian Goldberg bf69fe3fa5 Put parallel updates in insert_optimized and restore_heap_property_at_explicit_index into coroutines %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg b188a1daca Indentation touchups %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg d718958fe5 Some comment touchups %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 03b6562737 XOR with !tio.player() instead of tio.player() %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg ccd78ec898 Clarify "smaller index" -> "index of the smaller child" in comments %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 1270ae19f1 Fix two off-by-one errors in MinHeap::print_heap() %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 2d28fb2243 Fix some indentation %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 240beeb078 Touch up a comment %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg baddbdd512 Only run verify_heap_property on each extract if run_sanity is 1 %!s(int64=2) %!d(string=hai) anos
  avadapal 60b7d27300 few more additional comments %!s(int64=2) %!d(string=hai) anos
  avadapal 63f78d1c24 improving the comment on optimized insert %!s(int64=2) %!d(string=hai) anos
  avadapal d90d1162f2 removing the unnecessary old_P variable from optimized insert %!s(int64=2) %!d(string=hai) anos
  avadapal 00ff7d1f7b using the more efficient reconstruct() function in the debug code %!s(int64=2) %!d(string=hai) anos
  avadapal 4baf948729 changed the heap diagram to display the need for MAXINT %!s(int64=2) %!d(string=hai) anos
  avadapal 9607a3b5c7 removed an unnecessary if (tio.player() !=2) in insert_optimized %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 484b357df5 For testing, initialize the heap in a better way %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 7ed6c13978 u[0] was never getting initialized in insert_optimized %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg f1e9e115ac When HEAP_VERBOSE is set, each extract was being run twice %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg cd2b06a840 Fix bug in optimized insert %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 76aa1b8f7f Make verify_parent_children_heaps static %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 8a2dddba94 Off-by-one error in MinHeap::verify_heap_property %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg f594127266 Change insert to return void %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 4e3af6b482 Touch up one comment %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 2eb068546d Touch up the comments at the top of heap.cpp %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg ef877e3f74 VALUE_BITS is the default last arg to most mpc_* functions %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg 2ce7abf1d2 Don't pass argc around unnecessarily %!s(int64=2) %!d(string=hai) anos
  Ian Goldberg e15fbf8991 Remove set_num_items %!s(int64=2) %!d(string=hai) anos
  avadapal bcc8bb75cb changing new [] to vectors %!s(int64=2) %!d(string=hai) anos
  avadapal 803383c3b9 minor change in the image of insert_optimized %!s(int64=2) %!d(string=hai) anos
  avadapal f4da769dc3 add and modifying comments describing the functions in heap.hpp and heap.cpp %!s(int64=2) %!d(string=hai) anos