khash: remove bogus kh_del() in example code #3

Merged
merged 1 commit into from Feb 12, 2012

Projects

None yet

2 participants

Contributor
droe commented Feb 11, 2012

The kh_del() causes the overwritten entry to be marked deleted and
subsequently not found when using kh_get(). For integer typed hash
tables, there is no need to check whether we are overwriting an existing
entry or creating a new one.

@droe droe Remove bogus kh_del() in example code
The kh_del() causes the overwritten entry to be marked deleted and
subsequently not found when using kh_get().  For integer typed hash
tables, there is no need to check whether we are overwriting an existing
entry or creating a new one.
c3686a8
@attractivechaos attractivechaos merged commit 90c94a4 into attractivechaos:master Feb 12, 2012
@tecywiz121 tecywiz121 added a commit to tecywiz121/klib that referenced this pull request Jun 4, 2014
@tecywiz121 tecywiz121 try #3 for travis-ci 5f7c7d2
@tecywiz121 tecywiz121 added a commit to tecywiz121/klib that referenced this pull request Nov 24, 2016
@tecywiz121 tecywiz121 try #3 for travis-ci f17e491
@tecywiz121 tecywiz121 added a commit to tecywiz121/klib that referenced this pull request Nov 24, 2016
@tecywiz121 tecywiz121 try #3 for travis-ci d3030c9
@tecywiz121 tecywiz121 added a commit to tecywiz121/klib that referenced this pull request Dec 21, 2016
@tecywiz121 tecywiz121 try #3 for travis-ci fafe641
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment