Commit Graph

29 Commits (bcaa58a035c4dd7163a503d30f83efb45fa4662c)

Author SHA1 Message Date
Damien Doligez 5b8df637d2 merge branch "safe-string"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-29 11:56:17 +00:00
Gabriel Scherer 75b8c0184f PR#5933 type-specialize 'let compare = compare' on ints and strings
According to the reporter 'sliquister', type-specialized comparison
can nearly halve compilation time in some cases. This patch applies
type-specialization throughout the OCaml distribution sources, so not
all changes will have performance utility, but in this case I think
it's best to be consistent, as I see no downside to the change.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-19 07:22:12 +00:00
Damien Doligez def31744f9 remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Maxence Guesdon ef925ce233 comment out useless code in Str
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-05 14:36:41 +00:00
Damien Doligez 04b1656222 clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez ed32f569e3 merge changes from ocaml3110 to ocaml3111rc0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Xavier Leroy 7e9f606dee PR#4338: tail recursion in global_substitute, global_replace, and *split*
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8965 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 12:27:13 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Damien Doligez 125ea40d4c fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Xavier Leroy ab687946a2 Proteger les fonctions split* contre les regexps qui filtrent la chaine vide (PR#2167)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6122 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-02-17 10:13:50 +00:00
Xavier Leroy 50db9b2b70 Initialisation des registres et des groupes: ne le faire que pour ceux qui sont utilises
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5359 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-20 10:32:46 +00:00
Xavier Leroy 909bd3ab18 Revu gestion des variables globales (groupes, registres) en cas de backtrack
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5356 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-19 15:06:32 +00:00
Xavier Leroy 4485b55b20 Revu * et + sur regexp nullable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5349 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-16 14:34:59 +00:00
Xavier Leroy 5e32950066 S'assurer que l'on progresse lors du 'greedy matching' de * et +
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-13 17:06:19 +00:00
Xavier Leroy 46c0439d89 Cas particulier pour '-' en derniere position d'une classe de caracteres
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5327 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-09 15:38:46 +00:00
Xavier Leroy 211fc51518 Reimplementation complete de la bibliotheque Str en n'utilisant pas GNU regex
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5324 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-09 14:05:18 +00:00
Xavier Leroy 7501784c80 MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy 561f80d95d Blinder global_regexp vis-a-vis des regexp qui filtrent la chaine vide (PR#484)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3686 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-30 13:18:11 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Xavier Leroy dd3b45c2d9 Dans replace, lier match_end juste apres le matching
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2444 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-19 16:39:36 +00:00
Xavier Leroy 0efd16146d Attention a l'ordre d'evaluation dans bounded_full_split
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2420 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-14 13:37:29 +00:00
Xavier Leroy 792a3432cd Ajoute split_delim, full_split
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2287 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-16 15:24:31 +00:00
Fabrice Le Fessant 34e29d5cd1 Version 004
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2272 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-11 09:59:29 +00:00
Xavier Leroy 1568b2614a Patches de Ian Zimmerman (string_partial_match, etc)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2127 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-10-20 12:49:18 +00:00
Xavier Leroy 0e7a0abdd7 Ajout de quote, regexp_string, regexp_string_case_fold
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1970 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-05-26 15:41:29 +00:00
Xavier Leroy 2301d778e7 Renommage en Objective Caml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy 091c08f7f7 Bug dans string_before.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@718 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-01 15:25:28 +00:00
Xavier Leroy 060457fdd5 Portage depuis Caml Light 0.7
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@250 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-09-07 12:31:26 +00:00