Browse thread
Correct way of programming a CGI script
[
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: | -- (:) |
| From: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] Correct way of programming a CGI script |
On Tuesday 09 October 2007 16:25:45 skaller wrote: > It's not clear then you're using "strings". It never was. The concrete data structures used to represent strings in these languages are different. So you've just picked a concrete data structure with slow append and showed that its append is slower than a concrete data structure with slow random access and worse memory usage. This is just swings and roundabouts. You might like to compare the performance of setting a single char in a string in Python and OCaml... > C++ strings provide all the operations of both String and Buffer > and do not pay this cost. Can C++ escape a string using OCaml syntax? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/products/?e