[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 1997-03-18 (09:47) |
From: | Frank Christoph <christo@n...> |
Subject: | speed of byte-compiled ocaml considered high |
>>>>> "Lyn" == Lyn A Headley <laheadle@midway.uchicago.edu> writes: > dear camlfiends, I have recently used ocaml to write a couple of > text-munging scripts. One of them, which makes a few scans over a fairly > large file, seems to run really fast! I was wondering if anyone has done > any benchmarks comparing ocaml and other text-processing languages like > perl. I don't know if you were using the lexing or parsing facilities, but you should be aware that, although the data tables and peripheral utilities or in O'Caml, the engines are actually written in C and are part of the run-time system, so they are very fast, even as bytecode. Also, I am pretty sure that the Regexp library is based on GNU regexp, so it is also probably mostly wrappers for C functions. -- Frank Christoph Next Solution Co. Tel: 0424-98-1811 christo@nextsolution.co.jp Fax: 0424-98-1500