[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colorize objects by method dispatch type
From: |
Stefan Monnier |
Subject: |
Re: Colorize objects by method dispatch type |
Date: |
Wed, 01 Apr 2020 23:00:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> But in the case of registers, the already existing method
> implementations defined by the developers for the different types of
> registers provide a better source for an equality relation on registers
> than `type-of.' That's why I would rather use references to the
> appropriate method implementations for hashing.
You mean you want to take a hash of the actual code?
That will change when the code is tweaked, so I don't think you're going
to like that.
You're probably better off with a hash of (format "%S" (type-of FOO)).
Stefan