unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Semyonov <cmstr@dsemy.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Copyright assignment and questions about package submission
Date: Sun, 27 Dec 2020 11:30:57 +0200	[thread overview]
Message-ID: <87lfdj1tpq.fsf@dsemy.com> (raw)
In-Reply-To: <jwvv9cokyox.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sat, 26 Dec 2020 17:13:51 -0500)

> Actually, it looks like a simple error where you used division instead
> of logarithm, thus constructing a `sws-ids` that's exponentially longer
> than the one you need.   The patch below makes it usable for me.

Thanks, I've applied the patch (with minor modifications).

> [ I'd still argue that you shouldn't bother to construct the whole
>    `sws-ids` list but instead keep a counter which lets you build the
>    "next" id on the fly.   But that's up to you.   ]

I've done some testing with a large number of windows (with the patch
applied) and building the list doesn't seem to introduce any noticeable
delay.  I do agree that it isn't a very clean solution though. I'll see
if I can implement this in a better way.



      reply	other threads:[~2020-12-27  9:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-24 13:05 Copyright assignment and questions about package submission Daniel Semyonov
2020-12-24 14:28 ` Stefan Monnier
2020-12-24 15:58   ` Daniel Semyonov
2020-12-26 22:01     ` Stefan Monnier
2020-12-26 22:13       ` Stefan Monnier
2020-12-27  9:30         ` Daniel Semyonov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfdj1tpq.fsf@dsemy.com \
    --to=cmstr@dsemy.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).