unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Mike Gran <spk121@yahoo.com>
To: "Ludovic Courtès" <ludo@gnu.org>, guile-devel@gnu.org
Subject: Re: Optimization & factorization of ‘write’
Date: Tue, 14 Sep 2010 11:31:48 -0700 (PDT)	[thread overview]
Message-ID: <455480.11700.qm@web37907.mail.mud.yahoo.com> (raw)
In-Reply-To: <877hiowglj.fsf@gnu.org>

> From: Ludovic Courtès <ludo@gnu.org>
> 
> Hi!
> 
> In a profile ‘write’ was showing up unreasonably high, so I decided to
> bite the bullet, so to speak.
> 
> I ended up factorizing character and string writing, and removing heap
> allocations from the path.  The end result is ~2.6x faster when writing
> strings.

Nice.

> 
> Feedback welcome, especially from Mike.  :-)

I haven't tried it out yet, but,...

I noticed you stripped out the code that prints combining accents
as attached to dotted circles (#\◌̀ instead of #\̀). I thought that
was a rather nice feature.

I have a script that I used to check string and char input/output.
I'll try to test it out in the next couple of days.

Thanks,

Mike




  reply	other threads:[~2010-09-14 18:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-14 14:21 Optimization & factorization of ‘write’ Ludovic Courtès
2010-09-14 18:31 ` Mike Gran [this message]
2010-09-14 19:12   ` Ludovic Courtès
2010-09-14 23:04     ` Ludovic Courtès
2010-09-15  4:19     ` Mike Gran
2010-09-15 11:40       ` Ludovic Courtès
2010-09-15 14:28         ` Mike Gran
2010-09-15 21:35           ` Ludovic Courtès

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=455480.11700.qm@web37907.mail.mud.yahoo.com \
    --to=spk121@yahoo.com \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).