Bård Skaflestad: > I personally think a fixed-size buffer (e.g., one megabyte) which is filled > through fread() and then > separately tokenised is a much better choice for the lowest > level of a deck parser.
I hope you are not suggesting that one megabyte ought to be enough for all reservoirs... I recently sent off a DATA-file at 107 megabytes to our license partners. This was a DATA-file we created ad-hoc by flattening the INCLUDE-structure, so the DATA-file can in theory be of any size. Best regards, Håvard Berland Principal Engineer Reservoir Technology OSE PTC RP Statoil ASA Mobile: +47 94862347 Telephone: +47 94862347 Email: [email protected] Visitor address: Sandsliveien 90, Bergen, Norway Incorporation number: NO 923 609 016 MVA www.statoil.com ------------------------------------------------------------------- The information contained in this message may be CONFIDENTIAL and is intended for the addressee only. Any unauthorised use, dissemination of the information or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message. Thank you _______________________________________________ Opm mailing list [email protected] http://www.opm-project.org/mailman/listinfo/opm
