diff options
| author | Mark Oteiza | 2016-08-10 00:42:40 -0400 |
|---|---|---|
| committer | Mark Oteiza | 2016-08-10 00:42:40 -0400 |
| commit | 05dc6794f1eaa4a45038445b8b819bc763aefca5 (patch) | |
| tree | 2facbc00325fbc9f6cee08308edf2554426b7134 | |
| parent | 4ffdcfc6d1d88f821c15dfa30adeb0927cb9acd0 (diff) | |
| download | emacs-05dc6794f1eaa4a45038445b8b819bc763aefca5.tar.gz emacs-05dc6794f1eaa4a45038445b8b819bc763aefca5.zip | |
Turn on lexical-binding in json.el
Measuring with (benchmark-run 100 (json-read-file "foobar.json"))
showed 12-31% reduction in execution time.
* lisp/json.el: Turn on lexical-binding.
| -rw-r--r-- | lisp/json.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/json.el b/lisp/json.el index 1eabe0fa33c..fdac8d9a826 100644 --- a/lisp/json.el +++ b/lisp/json.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; json.el --- JavaScript Object Notation parser / generator | 1 | ;;; json.el --- JavaScript Object Notation parser / generator -*- lexical-binding: t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2006-2016 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2006-2016 Free Software Foundation, Inc. |
| 4 | 4 | ||