MCPcopy Create free account
hub / github.com/DOCGroup/ACE_TAO / compute_binary_search

Method compute_binary_search

ACE/apps/gperf/src/Gen_Perf.cpp:316–333  ·  view source on GitHub ↗

For binary search, do normal string sort on the keys, and then assign hash values from 0 to N-1. Then go ahead with the normal logic that is there for perfect hashing.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runMethod · 0.95

Calls 1

string_sortMethod · 0.80

Tested by

no test coverage detected