all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Yonchovski <yyoncho@gmail.com>
To: 42032@debbugs.gnu.org
Subject: bug#42032: 27.0.91; Allow Lisp_User_Ptr to declare which LispObject it has reference to
Date: Wed, 24 Jun 2020 19:59:01 +0300	[thread overview]
Message-ID: <878sgch02y.fsf@gmail.com> (raw)


This will using Lisp_User_Ptr for lazy computation. Here it is sample
flow:

(let ((lazy (my-module-function)))
  (my-module-get lazy "foo") ;; returns "bar"
  (my-module-get lazy "foo") ;; returns "bar"
  ...
  )

ATM it is not possible to cache "bar" in lazy because it will be garbage
collected.

Thanks,
Ivan





             reply	other threads:[~2020-06-24 16:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-24 16:59 Ivan Yonchovski [this message]
     [not found] ` <handler.42032.B.159301795131078.ack@debbugs.gnu.org>
2020-06-26 17:37   ` bug#42032: Acknowledgement (27.0.91; Allow Lisp_User_Ptr to declare which LispObject it has reference to) yyoncho
2020-08-13  0:40     ` Stefan Kangas

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

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

  git send-email \
    --in-reply-to=878sgch02y.fsf@gmail.com \
    --to=yyoncho@gmail.com \
    --cc=42032@debbugs.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.