bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32405: [PATCH] Turn misc objects into pseudovectors


From: Paul Eggert
Subject: bug#32405: [PATCH] Turn misc objects into pseudovectors
Date: Thu, 9 Aug 2018 00:44:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Pip Cet wrote:
+      case PVEC_FINALIZER:
+        VECTOR_MARK (ptr);
+        mark_object (XFINALIZER (obj)->function);
+        break;
+

Isn't that precisely what the default code does?

Similarly for bool vectors, misc ptrs, and user ptrs.

Thanks for mentioning that opportunity for further simplification. Followup patch attached.

I'm curious what ideas you have for the newly freed Lisp_Type tag.

I had been thinking of using it for immediate floats, if we want to insist on full IEEE double semantics for Emacs Lisp. But if there's something more important, we can use it for that instead.

Attachment: 0001-Simplify-mark_object-for-pseudovectors.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]