Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Performance-cost of ^
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Basile STARYNKEVITCH <basile@s...>
Subject: [Caml-list] Performance-cost of ^
>>>>> "Oliver" == Oliver Bandel <> writes:

    Oliver> Hello, I'm reading in a file linewise.  For some
    Oliver> operations I need it as one long string. [...]

Assuming a Unix (or Linux) plateform, I'll suggest to use
BigArray.char and BigArray.Array1.map_file which maps the file as an
array of chars. 


email: basile<at>starynkevitch<dot>net 
aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net
8, rue de la Faïencerie, 92340 Bourg La Reine, France

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: