[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] What's the quickest way to contribute?
From: |
Oleh Krehel |
Subject: |
Re: [PATCH] What's the quickest way to contribute? |
Date: |
Tue, 13 Jan 2015 14:46:08 +0100 |
> I think algorithmically, it's equivalent (both are O(N), basically).
Yes, I've used my blurry version of *algorithmically faster*, which
means iterating on one list instead of two in succession; the
complexity is the same, of course.
> Yes, cl-* functions are definitely allowed. There is of course a lot of
> carried prejudice from when cl-* functions didn't exist (and we just
> had the `remove-if-not' instead, whose use was not accepted in Emacs's
> own code), but there is also still a restriction in this respect: cl-*
> functions still can't be used from preloaded files (because that would
> require preloading cl-lib).
By preloaded files, do you mean the ones on `preloaded-file-list'?
There are 112 files in this list on my system, so it's quite a large
restriction. Is it no-more, no-less, i.e. only these 112 files?
Maybe the byte compiler could do some linting to enforce this
restriction? It already contains a lot of checks.
Oleh