unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Edward O'Connor" <hober0@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: possible json.el optimization: json-alist-p and json-plist-p recursion
Date: Thu, 13 Oct 2011 12:02:35 -0400	[thread overview]
Message-ID: <CAME3nGKGjs2dCSe-B1y-MM1oPmMTx3s5m8wPnYJe+9GjtB7h7A@mail.gmail.com> (raw)
In-Reply-To: <877h49t2y8.fsf@lifelogs.com>

> I ran into a very deep recursion with `json-encode' because
> `json-alist-p' is unnecessarily recursive.  This is not a bug, just
> something that can be optimized[...]
> I wanted to ask if this was an OK replacement:

Sounds good to me, modulo Stefan's comments earlier.


Thanks,
Ted



      parent reply	other threads:[~2011-10-13 16:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13 13:51 possible json.el optimization: json-alist-p and json-plist-p recursion Ted Zlatanov
2011-10-13 14:31 ` Stefan Monnier
2011-10-13 16:07   ` Ted Zlatanov
2011-10-14 14:09     ` Ted Zlatanov
2011-10-14 14:58       ` Stefan Monnier
2011-10-14 16:33         ` Ted Zlatanov
2011-10-14 17:02           ` Edward O'Connor
2011-10-17 17:41             ` Ted Zlatanov
2011-10-13 16:02 ` Edward O'Connor [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=CAME3nGKGjs2dCSe-B1y-MM1oPmMTx3s5m8wPnYJe+9GjtB7h7A@mail.gmail.com \
    --to=hober0@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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).