[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/raeburn-startup 711bff0 06/43: Don't memset storag
From: |
Ken Raeburn |
Subject: |
[Emacs-diffs] scratch/raeburn-startup 711bff0 06/43: Don't memset storage we're about to fill anyway. |
Date: |
Mon, 31 Jul 2017 02:10:58 -0400 (EDT) |
branch: scratch/raeburn-startup
commit 711bff0d58ae11bf2011de38d57b42678c7d81e4
Author: Ken Raeburn <address@hidden>
Commit: Ken Raeburn <address@hidden>
Don't memset storage we're about to fill anyway.
* src/charset.c (load_charset_map_from_file): Don't bother to memset
the large allocated arrays before filling them.
---
src/charset.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/charset.c b/src/charset.c
index 6ce2f90..15a50b2 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -501,7 +501,6 @@ load_charset_map_from_file (struct charset *charset,
Lisp_Object mapfile,
large (larger than MAX_ALLOCA). */
head = record_xmalloc (sizeof *head);
entries = head;
- memset (entries, 0, sizeof (struct charset_map_entries));
n_entries = 0;
int ch = -1;
@@ -535,7 +534,6 @@ load_charset_map_from_file (struct charset *charset,
Lisp_Object mapfile,
{
entries->next = record_xmalloc (sizeof *entries->next);
entries = entries->next;
- memset (entries, 0, sizeof (struct charset_map_entries));
n_entries = 0;
}
int idx = n_entries;
- [Emacs-diffs] scratch/raeburn-startup 8ec5f5a 11/43: Don't trash current-load-list while loading dumped.elc., (continued)
- [Emacs-diffs] scratch/raeburn-startup 8ec5f5a 11/43: Don't trash current-load-list while loading dumped.elc., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 19efb25 09/43: Use #N# syntax for repeated symbols in dumped.elc., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 4a6ef22 12/43: Save and restore default values, and buffer-local setting., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup d85d26b 10/43: Eli's test patch to stop using dump-emacs., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup e7fcd8a 14/43: Reload category table at startup rather than saving it., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 406bfc4 15/43: Call unify-charset on appropriate charsets., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup ee0638c 18/43: Create frame's face cache., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 7414991 01/43: Stefan's patch to write out and load "dumped.elc"; Oct 31 version., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup fd03b6b 07/43: Dump defvars for special variables only., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup cd1a407 05/43: Create *Messages* buffer when loading dumped data., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 711bff0 06/43: Don't memset storage we're about to fill anyway.,
Ken Raeburn <=
- [Emacs-diffs] scratch/raeburn-startup 76ee58e 17/43: Don't save coding-system-list., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup a47fa80 13/43: Dump and restore the standard syntax table., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 23b10de 22/43: Disable "before-dump" memory allocation on MS-Windows, Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 89bfbf7 38/43: * lisp/loadup.el: Drop several more variables from dumped.elc., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup e69daac 21/43: Fix build on Cygwin, Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 98025ef 31/43: Retain overlay properties when dumping., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup f6793d2 41/43: Don't use byte-compile-dynamic for stuff we're going to load., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 9664101 16/43: Load dumped.elc quietly., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup cc22b26 19/43: Don't save internal--text-quoting-flag., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 3da90ae 32/43: Make watchers dumpable., Ken Raeburn, 2017/07/31