Questions tagged [optimization]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Effective concatenation

How can I concatenate two sequences of lists (either lists of lists or vectors of lists) in constant time (independent of their size)?
JAre's user avatar
  • 185
1 vote
1 answer
2k views

Best pratice advices for abbrev vs. completion vs. snippets

I am not sure if this is really a proper question but I am interested in having some opinions about the most efficient usage of Emacs' abbreviations features (abbrev/dabbrev) in combination with auto-...
Martin Buchmann's user avatar
1 vote
2 answers
263 views

speed up sml-modeline, is this possible?

I really like the package sml-modeline (it is available on melpa): https://melpa.org/#/sml-modeline With it I replaced my vertical scrollbars. But when opening large text files like this Raspbian-...
jue's user avatar
  • 4,566
2 votes
3 answers
1k views

What could cause org agenda to take very long to start up?

In my current Emacs setup the org agenda takes a ridiculous amount of time to start up, up to 2 minutes. It happens both on Ubuntu and MacOS. Version information: Emacs: GNU Emacs 27.0.50 (build 2, ...
xji's user avatar
  • 2,635
5 votes
2 answers
79 views

Let-bind a variable while font-locking

I am writing a font-lock rule that calls a function to decide what face to apply to a symbol. Here's a simplified version: ("\\(?1:\\s_+\\)" (1 (the-function 1))) The problem is that this function ...
Malabarba's user avatar
  • 23.1k
3 votes
1 answer
398 views

How can I speed up individual commands?

When I call commands such as helm-apropos and custom Org agendas there is often a noticeable delay between the key sequence and the results presented. How can I speed up these commands to respond ...
Conor's user avatar
  • 485