comment corrected

parent 87a43166
...@@ -174,10 +174,8 @@ static int queue_fix_cmp(QUEUE *queue, void **a, void **b) ...@@ -174,10 +174,8 @@ static int queue_fix_cmp(QUEUE *queue, void **a, void **b)
} }
/* /*
Fix heap when every element was changed Fix heap when every element was changed,
actually, it can be done in linear time, actually, it can be done better, in linear time, not in n*log(n)
not in n*log(n), but some code (myisam/ft_boolean_search.c)
requires a strict order here, not just a queue property
*/ */
void queue_fix(QUEUE *queue) void queue_fix(QUEUE *queue)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment