From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: bytevector-string-ref Date: Sun, 18 Dec 2022 13:17:33 -0800 Message-ID: <9761cf20-07b5-8c01-35a2-f9cb250e4f34@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13102"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Dec 18 22:18:05 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p712q-0003Gg-Rl for guile-user@m.gmane-mx.org; Sun, 18 Dec 2022 22:18:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p712S-0000dg-Mk; Sun, 18 Dec 2022 16:17:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p712R-0000dS-NN for guile-user@gnu.org; Sun, 18 Dec 2022 16:17:39 -0500 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p712Q-0001hC-96 for guile-user@gnu.org; Sun, 18 Dec 2022 16:17:39 -0500 Original-Received: by mail-pj1-x102f.google.com with SMTP id hd14-20020a17090b458e00b0021909875bccso12415310pjb.1 for ; Sun, 18 Dec 2022 13:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=m7+cLqRxn9qOUrDQEbgo14VEBOKITr7J9f6mh8+/W+8=; b=FIYCECn0S/JwzvF2tS2OIRubv6YqrdwI9MT/r5BFAaF8TtVcMUnbvC0czMUpdTEw8g JHmnjrgyfTb36tbEksJZNK2+xOH9BblvCmQDbmmGe69huO8rjzAn6b6VRJ5kjGUNymvp 88SpWUKM69IycXAQKsdjPZDJnbET7ofF7duD3OSTmGR1QOgq6R1K4HLnq8dnkcACoWZi /lZFSKe1+IJJk4AE2y4QMQOGae7Pj9jpkw4dsjITU3n//8LUN9M9jxv/C3QOxe3ITR98 NBEmuHGKAoy8r+vgnmCt1e1ggCFbowSf3ZFaBZrdM+j1vBRUM4RLyG6MCgKOUFh+W15F Gf0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m7+cLqRxn9qOUrDQEbgo14VEBOKITr7J9f6mh8+/W+8=; b=jx0XSTU2G5lE8XhQV8gfCJfLbCYs2qBX/BEr7jFKAoiJcybEKmpiUuMI1EpxOXVFeP yE3Ls/sU6xT32ytmVJEX9lzZqHVeQ/P41Uxi5CoiY+DsDV8dRW+JD2qbhN2B56A50R05 3fpfU/6CBR5uEcAlx2FjvE27VRHZiE08dvUoYcwPkIPUvaarbHE2M4LvtkrP71SAniDz EPCCqxbDhFt+Nl9T44V6WLDD/5mE/OYqs5ACeBhMeDKQ/t7BMTHBBYNvF1gAP2ecwvW4 tq9ECgi9CHdax3mX4auMFQz6Y/IU4XWJkzaZ7rgYCycMIDeiH2+ieradWYzTzeojzMmp puxQ== X-Gm-Message-State: ANoB5pndijzXelfT0QhB14oL8huTv6Syv9yTDXasx75yQ7Bbt2yz/3Xk Cvyqwx+6S2GTNPGLYYMwaWYGvJkQx90= X-Google-Smtp-Source: AA0mqf6Fhar6JhMiL9zGyg4L4vOcHuec49BBoBlOgQ848LjtQcQLhHrp1U5KYxeByw3PNcEd/xcQkQ== X-Received: by 2002:a17:902:ab8d:b0:187:467f:c76c with SMTP id f13-20020a170902ab8d00b00187467fc76cmr35877216plr.51.1671398255376; Sun, 18 Dec 2022 13:17:35 -0800 (PST) Original-Received: from [192.168.2.158] (64-52-138-37.championbroadband.com. [64.52.138.37]) by smtp.gmail.com with ESMTPSA id w8-20020a170902e88800b0016f196209c9sm5510896plg.123.2022.12.18.13.17.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Dec 2022 13:17:34 -0800 (PST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=matt.wette@gmail.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:18786 Archived-At: On 12/18/22 4:12 AM, Sascha Ziemann wrote: > I am wondering if something like bytevector-string-ref is missing in the API. > Or is there any other way to extract a string from a byte vector, without > copying the data twice? > I sympathize with the struggle here.   I wonder if rlb is aware. I believe he is working on an update to string handling in guile. I posted a message to #guile@libera.chat asking if his work includes moving to/from bytevectors. Matt