smilenet / scholarzhang

Automatically exported from code.google.com/p/scholarzhang
0 stars 0 forks source link

heap implementation in keyword detection code is wrong, however there is no bad effect on the behavior. #130

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Should check if we are deleting the last item in the heap upon deletion.

Original issue reported on code.google.com by yingyingcui.scholarzhang@gmail.com on 26 Oct 2012 at 4:21

GoogleCodeExporter commented 9 years ago
There is bad effect. Because the deleted item will be lifted if we modified the 
key before the deletion.

Original comment by yingyingcui.scholarzhang@gmail.com on 26 Oct 2012 at 4:33