From 278517722988d040cb8da822e319d723670ac519 Mon Sep 17 00:00:00 2001 From: ppedrot Date: Mon, 29 Oct 2012 13:02:23 +0000 Subject: Removed many calls to OCaml generic equality. This was done by writing our own comparison functions, and enforcing monomorphization in many places. This should be more efficient, btw. Still a work in progress. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15932 85f007b7-540e-0410-9357-904b9bb8a0f7 --- library/libnames.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/libnames.ml') diff --git a/library/libnames.ml b/library/libnames.ml index 3555766f8..197588f53 100644 --- a/library/libnames.ml +++ b/library/libnames.ml @@ -69,8 +69,8 @@ let dirpath_of_string s = let string_of_dirpath = Names.string_of_dirpath -module Dirset = Set.Make(struct type t = dir_path let compare = compare end) -module Dirmap = Map.Make(struct type t = dir_path let compare = compare end) +module Dirset = Set.Make(struct type t = dir_path let compare = dir_path_ord end) +module Dirmap = Map.Make(struct type t = dir_path let compare = dir_path_ord end) (*s Section paths are absolute names *) -- cgit v1.2.3