bug#42032: 27.0.91; Allow Lisp_User_Ptr to declare which LispObject it has reference to

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#42032: 27.0.91; Allow Lisp_User_Ptr to declare which LispObject it has reference to

Ivan Yonchovski

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 | Threaded
Open this post in threaded view
|

bug#42032: Acknowledgement (27.0.91; Allow Lisp_User_Ptr to declare which LispObject it has reference to)

Ivan Yonchovski
I found a solution to the problem so it is fine to be closed. 
I am not sure how to do that in debbugs.

Thanks,
Ivan

On Wed, Jun 24, 2020 at 8:00 PM GNU bug Tracking System <[hidden email]> wrote:
Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [hidden email]

If you wish to submit further information on this problem, please
send it to [hidden email].

Please do not send mail to [hidden email] unless you wish
to report a problem with the Bug-tracking system.

--
42032: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42032
GNU Bug Tracking System
Contact [hidden email] with problems