]> git.eshelyaron.com Git - emacs.git/commitdiff
Bump FACE_CACHE_BUCKETS_SIZE to 1009
authorEli Zaretskii <eliz@gnu.org>
Wed, 10 Feb 2021 16:10:17 +0000 (18:10 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 10 Feb 2021 16:10:17 +0000 (18:10 +0200)
* src/xfaces.c (FACE_CACHE_BUCKETS_SIZE): Make it 1009, a prime
number, per the comment.  Reported by Win Treese <treese@acm.org>.

src/xfaces.c

index 12087138e51240feb51a87d17be6780a2c6e9673..4b020001c31ea147dc1390b9c9c4fbb01623f65d 100644 (file)
@@ -289,7 +289,7 @@ along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.  */
 /* Size of hash table of realized faces in face caches (should be a
    prime number).  */
 
-#define FACE_CACHE_BUCKETS_SIZE 1001
+#define FACE_CACHE_BUCKETS_SIZE 1009
 
 char unspecified_fg[] = "unspecified-fg", unspecified_bg[] = "unspecified-bg";