From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id D67C38016C for ; Tue, 13 Jun 2017 11:01:24 +0200 (CEST) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=berenger@bioreg.kyushu-u.ac.jp; spf=None smtp.mailfrom=berenger@bioreg.kyushu-u.ac.jp; spf=None smtp.helo=postmaster@h4.hosting4.cc.kyushu-u.ac.jp Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of berenger@bioreg.kyushu-u.ac.jp) identity=pra; client-ip=133.5.13.5; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="berenger@bioreg.kyushu-u.ac.jp"; x-sender="berenger@bioreg.kyushu-u.ac.jp"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of berenger@bioreg.kyushu-u.ac.jp) identity=mailfrom; client-ip=133.5.13.5; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="berenger@bioreg.kyushu-u.ac.jp"; x-sender="berenger@bioreg.kyushu-u.ac.jp"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@h4.hosting4.cc.kyushu-u.ac.jp) identity=helo; client-ip=133.5.13.5; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="berenger@bioreg.kyushu-u.ac.jp"; x-sender="postmaster@h4.hosting4.cc.kyushu-u.ac.jp"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3A1SzkrhAmTxFLKW61aRxfUyQJP3N1i/DPJgcQr6Af?= =?us-ascii?q?oPdwSPvypMbcNUDSrc9gkEXOFd2CrakV1KyO6+jJYi8p2d65qncMcZhBBVcuqP?= =?us-ascii?q?49uEgeOvODElDxN/Xw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pUcvj36KuNtzdPU?= =?us-ascii?q?oFkWtGVVKaOkx5YRZ32iNv5nJF+Ubjzvk8oaEXpPo0w3R6rokAvRAnZoe3+uUv?= =?us-ascii?q?dktXkAA4W8ANKbSw=3D=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DwBABBqT9ZlwUNBYVcHAEFAQsBGAEFA?= =?us-ascii?q?QsBhBOEfosLkF2YNQGGIwKDOxQBAQEBAQEBAQEBARIBAQEBAQgWBldCDoFjIoJ?= =?us-ascii?q?EAwMjFVElAiYCAh84EwgBAYonr2+CJodzGoM1MoELh2ELiCCCRoJhBYdBB4IMh?= =?us-ascii?q?2mNBh6BQZFwgW8BgXqHK4ZzSJQsNoErgQmFZIIBg3KGXgEBAQ?= X-IPAS-Result: =?us-ascii?q?A0DwBABBqT9ZlwUNBYVcHAEFAQsBGAEFAQsBhBOEfosLkF2?= =?us-ascii?q?YNQGGIwKDOxQBAQEBAQEBAQEBARIBAQEBAQgWBldCDoFjIoJEAwMjFVElAiYCA?= =?us-ascii?q?h84EwgBAYonr2+CJodzGoM1MoELh2ELiCCCRoJhBYdBB4IMh2mNBh6BQZFwgW8?= =?us-ascii?q?BgXqHK4ZzSJQsNoErgQmFZIIBg3KGXgEBAQ?= X-IronPort-AV: E=Sophos;i="5.39,337,1493676000"; d="scan'208";a="278578645" Received: from hosting4.cc.kyushu-u.ac.jp (HELO h4.hosting4.cc.kyushu-u.ac.jp) ([133.5.13.5]) by mail2-smtp-roc.national.inria.fr with ESMTP; 13 Jun 2017 11:01:21 +0200 Received: from [192.168.2.36] (unknown [133.5.218.148]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: berenger@bioreg.kyushu-u.ac.jp) by h4.hosting4.cc.kyushu-u.ac.jp (hde-lc-postfix) with ESMTPSA id 8F0932AB0F6 for ; Tue, 13 Jun 2017 18:01:19 +0900 (JST) (envelope-from berenger@bioreg.kyushu-u.ac.jp) To: caml-list@inria.fr References: From: Francois BERENGER Message-ID: Date: Tue, 13 Jun 2017 18:01:19 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: [Caml-list] Why is there no Marshal.(from_fd|to_fd) Hello, Sorry for the maybe stupid question. I mean fd has type Unix.file_descr. I am just wondering why marshaling has to always go through an in or out_channel. Is it just so that there is not dependency between the Marshal and the Unix module? I am worried about the data copying that might happen because of the channel interposed between me and my file. Regards, F.