Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: malc <malc@pulsesoft.com>
To: caml-list@inria.fr
Subject: Native code compiler
Date: Sat, 26 Aug 2000 00:22:23 +0400 (MSD)	[thread overview]
Message-ID: <Pine.LNX.4.21.0008260015490.969-100000@home.oyster.ru> (raw)

Can someone please explain me why ocamlopt spends so much time compiling
one of examples in lablGL(and some of my code which was based on this
example)

---
[malc@oyster examples]$ time ocamlc.opt -labels -I /usr/lib/ocaml/labltk
-I /usr/lib/ocaml/lablGL labltk.cma lablgl.cma togl.cmo gears.ml 

real    0m1.957s
user    0m1.400s
sys     0m0.540s
[malc@oyster examples]$ time ocamlopt.opt -labels -I /usr/lib/ocaml/labltk
-I /usr/lib/ocaml/lablGL labltk.cmxa lablgl.cmxa togl.cmx gears.ml 

real    1m35.531s
user    1m31.760s
sys     0m0.800s

[malc@oyster examples]$ uname -a
Linux oyster 2.2.14-5.0 #5 Sat May 13 06:34:58 MSD 2000 i586 unknown

[malc@oyster examples]$ ocamlc -v
The Objective Caml compiler, version 3.00
Standard library directory: /usr/lib/ocaml
---

Im at the point where i can no longer afford bytecode(and if nothing else
id have to resort to C++, which is pretty disgusting idea), so any hints
will be greatly apreciated.

-- 
mailto:malc@pulsesoft.com



                 reply	other threads:[~2000-08-26  8:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.21.0008260015490.969-100000@home.oyster.ru \
    --to=malc@pulsesoft.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox