220 34939 <3fc0d268-657a-c2a6-79f6-b9174eeddb41@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Jonathan_M=c3=bcller?= <jonathanmueller.dev@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Idea about "std::pmr::memory_resource"
Date: Sun, 15 Oct 2017 12:34:25 +0200
Lines: 20
Approved: news@gmane.org
Message-ID: <3fc0d268-657a-c2a6-79f6-b9174eeddb41@gmail.com>
References: <0a8293b4-3246-47a5-9881-bc1ca4b91772@isocpp.org>
 <CAEddoJZzSZ5RROJ6Uu=2+R90mXi+hnHPDCxobrHM2daM6AxPVw@mail.gmail.com>
 <CAPCFJdQUrdiHDcZtziJbm6H62osF0o2V2QFU0h1t0ZjyjY7qcw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1508063669 7620 195.159.176.226 (15 Oct 2017 10:34:29 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 15 Oct 2017 10:34:29 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.3.0
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCUMHC4Z6QGBBNHTRTHQKGQENQNCEHY@isocpp.org Sun Oct 15 12:34:23 2017
Return-path: <std-proposals+bncBCUMHC4Z6QGBBNHTRTHQKGQENQNCEHY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wr0-f200.google.com ([209.85.128.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCUMHC4Z6QGBBNHTRTHQKGQENQNCEHY@isocpp.org>)
	id 1e3gFS-00012K-9r
	for gclcip-std-proposals@m.gmane.org; Sun, 15 Oct 2017 12:34:22 +0200
Original-Received: by mail-wr0-f200.google.com with SMTP id z55sf3379228wrz.2
        for <gclcip-std-proposals@m.gmane.org>; Sun, 15 Oct 2017 03:34:29 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1508063669; cv=pass;
        d=google.com; s=arc-20160816;
        b=BJy9AfR2OCM2tf+CB+yzPgUrw6d9a01fEmlwySsLIKsF42Uohhn1qjCN/tgxvDrQCr
         rG4y7W79BwZN4YSlEvqIkc7MIodOnf2iTZ8rmcATDxUlnVcSLhhwAtfDfj5iVLM0tKBm
         5JPvbOVw8iVpGz6EEw0+Yy44iOoOoz3LhtJJ53mKJ9bZh81YcPBvsMpvaQVIAahRc6P8
         8EYMzybfbNAaFlD40YkJ28CpsQgBs66T9B/CHkJauFX5UzFnzERclQncr5zwFFE1kILY
         pe8GKMbUlVT78T8xxliitAL4SDcI3oLHUDIg6+rSsVTQAfWS7JU1iIDGsYw99DwpyAek
         E+GA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:content-transfer-encoding
         :content-language:in-reply-to:mime-version:user-agent:date
         :message-id:from:references:to:subject:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=gr/q3BRKSg7RkdkKEofVZD5uVoOzj7HfxgEgPWzISR0=;
        b=L+syBm6Xjp6wpnDBWoHhEhuYccER6L7QMf2TR8bXY0Rh+agQSxOj0weyZ0HTBoq7YA
         Pxas1LPAyAVG40fZ7SK/EwDdOvY0SyKkHv03Uxl4RsIYRP4UuhdqmzoSKRVqHrrdB4JJ
         o/4ZGELsVOlJquUwBKaCeTDdUEWjBL0s8ZrMwO3FDMdSF+TAYEnbIw9u/SITWU1zXoMm
         mgz6aG3zeZfqZLGzuYMTcnelGNYHJ01if1JHu0Yii7TX4/koLRF0tMQ3vQsx4mzWa9Eo
         shG6AJ5OI+LS+EKD/SMKyORPQ6uDhzXt8QLK3IJD0gxEUPMfk7nD+GyBeaNPV8 
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=bU8jIbnp;
       spf=pass (google.com: domain of jonathanmueller.dev@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jonathanmueller.dev@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-language:content-transfer-encoding
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=gr/q3BRKSg7RkdkKEofVZD5uVoOzj7HfxgEgPWzISR0=;
        b=kVJdPJx2uquMeRuEhssATh81gFZ0rurKPU77xEERQNJrXGJ9Kx5Z3ovVSQsDr9WuD5
         7ok3RIje+dqgUKTXNVL3AEzede0+HeueLO/7fUbETuckoBjBF4hXqwt2ZUIeMZpIVNWr
         dYBdXuhT4S3aiTyqmUWQ3BzFPCasIwQlrM+kOJHgCUm5Iz6eioaTbRcpBxnVymrzUvm7
         Uwb4fcd4KELySfC/ZlnREHCdUU5gjINH/N3X46XB/IDqG1TC8LCE2wLLBUd7hbf5txtP
         9sIR94DBQQu8jombr0XdcIKvtEjKslp+NpwLVGoXpVCXLCSi/EIUOV2I6J3ewPY4hJm+
         Gmv 
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-language
         :content-transfer-encoding:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=gr/q3BRKSg7RkdkKEofVZD5uVoOzj7HfxgEgPWzISR0=;
        b=kDSQ2uJYRRhdaWfertiN2A3iUP+Px80K31QQ4qzXQ0uUHVS93qj5vaBTNavG1UMZmE
         wF/NR7kblF5WTtQD0xbmKwmAxfVqW7xd1v0lgvAV+4rDgg8TUVJPHlLITaEJfacLrWAt
         kv6aLNWLrfdUoVotlKNrpLOTnzlW9RSLqhUafwJidEJgg2691ZzbTeOtCMHwbDQXe03h
         7gX8FfwBJifkuJ5mQbNCtjJ5nqPgoxtAHXGUfSD+w9nJXHmoGsNj6kvtdDP0cR8woDIo
         wONTTHLCWqC+3+Vivwt3KsHU5iQyRH8kt77Q7OCo6/a 
X-Gm-Message-State: AMCzsaVaBBxR+II6CnYJDyTCqxUGo6kUgFfA198He2QZE7rhyAG5Yqv2
	3lKfRWqZaWdzf3+JXRjfptmLGQ==
X-Google-Smtp-Source: ABhQp+Shx6xA6+wZFamptsMDOZQnvpU2qvKXoDM8Iw1TgRGDF62DO4jE6qRTamgAsDqnhaLiwCLAcw==
X-Received: by 10.28.143.200 with SMTP id r191mr737095wmd.1.1508063669699;
        Sun, 15 Oct 2017 03:34:29 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.45.4 with SMTP id t4ls939053wmt.7.canary-gmail; Sun, 15 Oct
 2017 03:34:28 -0700 (PDT)
X-Received: by 10.28.100.212 with SMTP id y203mr5355047wmb.64.1508063668483;
        Sun, 15 Oct 2017 03:34:28 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1508063668; cv=none;
        d=google.com; s=arc-20160816;
        b=YWKVOJg8L/XGm14LIwPakTZnZ568x/wbm783KtPwviooLZbXwGjS58kyCF+MET3iPi
         uq4yubf7JQhWvH0RXk6RLW5cF5h/4zU/xADcN7ZhVtWaG/AcCuFx9xX7ubQlbUufZbB0
         RvOtWZZVXtQokffBT1xJOjnptAqHMdJmzJRzAZVOFbUs5c4kTLgbbbVU85ybyklWPhdx
         a1V1gAOj7qFKloht7jZ9A3kpBg/86Hg43eP26ewIsrs/+r+A9b3tRq6fNIZy7Fa/X8eH
         0tU0UabuN6AJPGP5r05uIqj8DkonsoOnK02f4tphWU+kCaBlQYJ+/b0K/bHp6vNDujni
         X5Gg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:content-language:in-reply-to:mime-version
         :user-agent:date:message-id:from:references:to:subject
         :dkim-signature:arc-authentication-results;
        bh=eRCQ6eZ7di6pmI9YBbVkDjEkECs1wpKB07qUL0TiN/o=;
        b=xxD+E1bzXLiVPaYkeq9w+rIRevri2KNtbr2iUyBJOe4ecBl3TwKEoKe51mzpCKiXkz
         MyxYUqA8z4cNuH68B8RDKU+kQd2fmtlt7GBu92t7z0kdscgeiXmAQ5kWGbXf3rTJKjvo
         7Q3+OKQmVQACP/76gOdsHtREhwbUElmZ1g8o6jc4ccJ2II1svhnyjQTWoE6D5NzZ4yGP
         VHdPNxm0XJMEUGypRynqM8Qzxx6DAPk81HzIn7T+hCAf6LY1RsW2mIEAoE0OH+7w4uyB
         OgVZ0esArv93PLylZEn2n5beF/XBinejTilRwbjTS1G0n/sjGV2170UGY12TlYqb7hxm
         jgRg==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=bU8jIbnp;
       spf=pass (google.com: domain of jonathanmueller.dev@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jonathanmueller.dev@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id a197sor1143863wmd.88.2017.10.15.03.34.28
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Sun, 15 Oct 2017 03:34:28 -0700 (PDT)
Received-SPF: pass (google.com: domain of jonathanmueller.dev@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 10.28.238.193 with SMTP id j62mr5194268wmi.44.1508063667839;
        Sun, 15 Oct 2017 03:34:27 -0700 (PDT)
Original-Received: from [192.168.2.113] (p57957A97.dip0.t-ipconnect.de. [87.149.122.151])
        by smtp.gmail.com with ESMTPSA id r44sm13502098wrb.37.2017.10.15.03.34.26
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 15 Oct 2017 03:34:27 -0700 (PDT)
In-Reply-To: <CAPCFJdQUrdiHDcZtziJbm6H62osF0o2V2QFU0h1t0ZjyjY7qcw@mail.gmail.com>
Content-Language: en-US
X-Original-Sender: jonathanmueller.dev@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=bU8jIbnp;       spf=pass
 (google.com: domain of jonathanmueller.dev@gmail.com designates 209.85.220.41
 as permitted sender) smtp.mailfrom=jonathanmueller.dev@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:34939
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34939>

On 15.10.2017 09:49, Micha=C5=82 Dominiak wrote:
> It's memory allocation, folks. Unless you're doing a forever growing=20
> allocator that just keeps a pointer to the next block and doesn't allow=
=20
> freeing the memory, the virtual dispatch cost is going to get drowned in=
=20
> the cost of actually, you know, allocating the memory.
>=20
But this is a completely reasonable allocator you might want to use.

--=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/3fc0d268-657a-c2a6-79f6-b9174eeddb41%40gmail.com=
..

.
