Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] What is the default hash function of string in 3.12?
@ 2012-06-12 20:23 Jianzhou Zhao
  2012-06-13  8:25 ` rixed
  0 siblings, 1 reply; 2+ messages in thread
From: Jianzhou Zhao @ 2012-06-12 20:23 UTC (permalink / raw)
  To: caml users

Hi,

I have a table (with size > 30000) implemented by both Hashtbl and
Map. I found their performance are almost the same. But I think
Hashtbl should be much faster than Map. So, I was wondering what hash
function of String OCaml 3.12 uses, and if I can define my own.

Thanks!
-- 
Jianzhou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-13  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-12 20:23 [Caml-list] What is the default hash function of string in 3.12? Jianzhou Zhao
2012-06-13  8:25 ` rixed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox