[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inline build_string performance
From: |
Thien-Thi Nguyen |
Subject: |
Re: inline build_string performance |
Date: |
Tue, 26 Jun 2012 20:51:02 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
() Dmitry Antipov <address@hidden>
() Tue, 26 Jun 2012 21:58:34 +0400
This assumes something like:
#define build_literal(str) __build_literal (str, strlen (str))
If the argument ‘str’ is a literal string, how about:
/* -*- c -*- */
#define build_literal(str) make_string (str, sizeof (str) - 1)
Or is ‘sizeof’ somehow unsuitable for the job?
- inline build_string performance, Paul Eggert, 2012/06/26
- Re: inline build_string performance, Andreas Schwab, 2012/06/26
- Re: inline build_string performance, Dmitry Antipov, 2012/06/26
- Re: inline build_string performance, Paul Eggert, 2012/06/26
- Re: inline build_string performance, Dmitry Antipov, 2012/06/26
- Re: inline build_string performance, Paul Eggert, 2012/06/26
- Re: inline build_string performance, Dmitry Antipov, 2012/06/26
- Re: inline build_string performance, Paul Eggert, 2012/06/26
- Re: inline build_string performance, Eli Zaretskii, 2012/06/26
- Re: inline build_string performance,
Thien-Thi Nguyen <=
Re: inline build_string performance, Stefan Monnier, 2012/06/26