From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: list3i etc. Date: Thu, 07 Mar 2013 12:58:09 +0400 Message-ID: <513856A1.1050408@yandex.ru> References: <83boav20hi.fsf@gnu.org> <837glj1ymz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1362646709 28791 80.91.229.3 (7 Mar 2013 08:58:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Mar 2013 08:58:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 07 09:58:54 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UDWf7-0007CR-K3 for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2013 09:58:53 +0100 Original-Received: from localhost ([::1]:35843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWel-0006pA-T6 for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2013 03:58:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWei-0006oF-Fy for emacs-devel@gnu.org; Thu, 07 Mar 2013 03:58:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDWeg-0007qt-Qu for emacs-devel@gnu.org; Thu, 07 Mar 2013 03:58:28 -0500 Original-Received: from forward3h.mail.yandex.net ([84.201.187.148]:39985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWee-0007q9-N1; Thu, 07 Mar 2013 03:58:25 -0500 Original-Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward3h.mail.yandex.net (Yandex) with ESMTP id 475F11362714; Thu, 7 Mar 2013 12:58:20 +0400 (MSK) Original-Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id EFD5F1340276; Thu, 7 Mar 2013 12:58:19 +0400 (MSK) Original-Received: from unknown (unknown [118.143.64.134]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id wFDi62P2-wIDWeRec; Thu, 7 Mar 2013 12:58:19 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1362646699; bh=6jgErQ9+qv3+NG4ROWwbnO30EU1flqk6xucT6y6bUZ8=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=EmiIYFRimACAK2y+9XLsPfhY+/xYacVtlf9FIW4ThhJ0Y0957NnkCr13qqCsucpBl 8/tTZWHm/tfbOzRIoSbFMkG7c9ZuUNDd5vcMmAf1HAhfa7k0VroX9O41xh6qiUIKHD g40xVg65An7ki3UArbl2Kda2KGpH0mHzYCXXehOY= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 In-Reply-To: <837glj1ymz.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 84.201.187.148 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157550 Archived-At: On 03/07/2013 11:01 AM, Eli Zaretskii wrote: >> Can we have a more mnemonically significant names for these, please? >> Like list_of_numbers2, list_of_numbers3, etc., for example? Of course we can. But IMHO they're "mnemonically significant" already, and the similar approach is widely used here and there. For example, OpenGL API uses glFoo[sifd] to denote versions of glFoo with short/int/ float/double arguments. > Also, why are they implemented as inline functions? They call list, > list3, etc. which aren't inlined. Hm... I guess that we don't want function call overhead for such a simple things; these might be macros, but it looks like that everyone tends to use [HEADER]_INLINE instead of them. Dmitry