[LLVMdev] RFC: Binary format for instrumentation based profiling data
Dmitri Gribenko
gribozavr at gmail.com
Thu Mar 13 12:52:53 PDT 2014
On Thu, Mar 13, 2014 at 1:09 AM, Justin Bogner <mail at justinbogner.com> wrote:
> 1. An on-disk hash table. Questions like whether to use separate
> chaining or open addressing would need to be addressed. This
> solution takes at least as much space as the naive approach, but
> avoids the startup cost.
Just wanted to point out that Clang already has an on-disk hash table
implementation in:
include/clang/Basic/OnDiskHashTable.h
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the llvm-dev
mailing list