|
From: | Lars Ingebrigtsen |
Subject: | bug#56255: 28.1.50; sxhash-equal does not change when object is modified |
Date: | Wed, 29 Jun 2022 12:15:30 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Ihor Radchenko <yantar92@gmail.com> writes: > This is exactly the problem at hand. I was hoping to find a fast way to > detect if a large deeply nested object is changed. If not, do not print > that object for the purpose of saving it to disk cache. Printing can > take up to 2-3 seconds in some cases. I think you basically have to restructure the code to add a guard to whatever's updating the structure to see whether it's "dirty" or not. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] | Current Thread | [Next in Thread] |