Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Diminishing returns
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mauricio Fernandez  
View profile  
 More options Jun 17 2008, 7:38 am
From: Mauricio Fernandez <m...@acm.org>
Date: Tue, 17 Jun 2008 13:38:09 +0200
Local: Tues, Jun 17 2008 7:38 am
Subject: Diminishing returns
My latest OCaml implementation, with some incremental refinements on the
previous one:

real    5m35.658s
user    98m5.770s
sys     5m58.114s

(31 workers)

I switched from line-oriented to block I/O, bumping the line count to 150 +
~30 (mainly for the higher-order function used to apply a function in a
different process). At this point, the speed is largely determined by the
residual data in the buffer cache, and there's a considerable variance across
executions.

Small improvements should be possible at the cost of higher line counts; there
are two obvious changes that might make this particular program faster:
single-copy read() (currently, the data is first read into a buffer on the
stack and then copied to the destination string) and mmap-based I/O.

--
Mauricio Fernandez  -   http://eigenclass.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google