1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-10 16:20:17 -08:00
emacs/lisp/net
Gemini Lasswell 68b7ecbac1 Reduce Tramp's memory usage
Construct Tramp syntax strings and regular expressions once instead
of every time they are used, and store them in alists keyed by Tramp
syntax.
* tramp.el (tramp-build-remote-file-name-spec-regexp)
(tramp-build-file-name-structure): New functions.
(tramp-prefix-format-alist, tramp-prefix-regexp-alist)
(tramp-method-regexp-alist)
(tramp-postfix-method-format-alist)
(tramp-postfix-method-regexp-alist)
(tramp-prefix-ipv6-format-alist, tramp-prefix-ipv6-regexp-alist)
(tramp-postfix-ipv6-format-alist)
(tramp-postfix-ipv6-regexp-alist)
(tramp-postfix-host-format-alist)
(tramp-postfix-host-regexp-alist)
(tramp-remote-file-name-spec-regexp-alist)
(tramp-file-name-structure-alist): New constants.
(tramp-lookup-syntax): New function.
(tramp-prefix-format, tramp-prefix-regexp, tramp-method-regexp)
(tramp-postfix-method-format, tramp-postfix-method-regexp)
(tramp-prefix-ipv6-format, tramp-prefix-ipv6-regexp)
(tramp-postfix-ipv6-format, tramp-postfix-ipv6-regexp)
(tramp-postfix-host-format, tramp-postfix-host-regexp)
(tramp-remote-file-name-spec-regexp, tramp-file-name-structure):
Use it.
2017-09-09 09:06:00 -07:00
..
ange-ftp.el * lisp/net/ange-ftp.el (ange-ftp-skip-msgs): Further support ftp-ssl. 2017-08-16 11:52:12 +02:00
browse-url.el Simplify checks for xdg-open and xdg-email 2017-03-09 19:02:35 -08:00
dbus.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
dig.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
dns.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc-bob.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc-export.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc-hotlist.el Don't call 'kill-this-buffer' outside of menus 2017-04-12 23:14:20 +03:00
eudc-vars.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudc.el Don't call 'kill-this-buffer' outside of menus 2017-04-12 23:14:20 +03:00
eudcb-bbdb.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudcb-ldap.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eudcb-mab.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
eww.el Hexify strings in EWW search queries 2017-09-03 20:42:01 -04:00
gnutls.el Merge from origin/emacs-25 2017-06-11 16:20:40 -07:00
goto-addr.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
hmac-def.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
hmac-md5.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
imap.el Remove references to OS/2 in code, doc, and comments 2017-04-08 13:16:08 -07:00
ldap.el Avoid add-to-list on local variables 2017-01-04 00:40:45 -05:00
mailcap.el Refactor some loops in mailcap.el 2017-09-05 16:45:13 -04:00
mairix.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
net-utils.el Improve doc strings in net-utils.el 2017-05-12 11:38:04 +03:00
netrc.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
network-stream.el Document :shell-command in `make-network-process' 2017-01-26 19:46:27 +01:00
newst-backend.el Remove feeds with dead uris from newsticker--raw-url-list-defaults 2017-08-13 16:55:03 +02:00
newst-plainview.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
newst-reader.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
newst-ticker.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
newst-treeview.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
newsticker.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
nsm.el Avoid unnecessary loading of subr-x at run-time 2017-04-18 19:07:28 -04:00
ntlm.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
pinentry.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
pop3.el Remove references to OS/2 in code, doc, and comments 2017-04-08 13:16:08 -07:00
puny.el Small puny.el fix 2017-03-01 20:35:41 -05:00
quickurl.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
rcirc.el ; Add a comment for make-text-button in rcirc-markup-urls 2017-09-09 23:28:08 +09:00
rfc2104.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
rlogin.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl-cram.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl-digest.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl-ntlm.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl-scram-rfc.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
sasl.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
secrets.el Don't call 'kill-this-buffer' outside of menus 2017-04-12 23:14:20 +03:00
shr-color.el Fix color component calculations in color.el 2017-03-03 16:05:02 +02:00
shr.el Ensure that we parse images right in shr.el 2017-07-24 17:29:28 +02:00
sieve-manage.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
sieve-mode.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
sieve.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
snmp-mode.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
soap-client.el lisp/net/soap-client.el: Bump version to 3.1.3 2017-06-13 21:21:24 -04:00
soap-inspect.el Fix soap-inspect.el doc strings 2017-05-25 08:49:58 -04:00
socks.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
starttls.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
telnet.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
tls.el ; * lisp/net/tls.el (tls-program): Tweak :version. 2017-05-22 19:08:10 -04:00
tramp-adb.el Work on Tramp's (symbolic) links 2017-09-04 13:10:52 +02:00
tramp-cache.el Stylistic changes in tramp-cache.el 2017-07-20 20:27:55 +02:00
tramp-cmds.el Introduce a defstruct `tramp-file-name' as central data structure. 2017-05-24 16:16:53 +02:00
tramp-compat.el Test `file-expand-wildcards' for Tramp 2017-08-22 16:22:33 +02:00
tramp-ftp.el Switch Tramp to cl-lib 2017-05-25 10:04:12 +02:00
tramp-gvfs.el Work on Tramp's (symbolic) links 2017-09-04 13:10:52 +02:00
tramp-sh.el Work on Tramp's (symbolic) links 2017-09-04 13:10:52 +02:00
tramp-smb.el Work on Tramp's (symbolic) links 2017-09-04 13:10:52 +02:00
tramp-uu.el Use lexical-bind in Tramp 2017-03-23 14:58:04 +01:00
tramp.el Reduce Tramp's memory usage 2017-09-09 09:06:00 -07:00
trampver.el Add Quick Start Guide to Tramp manual 2017-07-10 15:36:23 +02:00
webjump.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
zeroconf.el lisp/*.el: Fix some warnings 2017-01-29 19:34:35 +01:00