|
From: | Juanma Barranquero |
Subject: | Re: Using empty_string as the only "" string |
Date: | Tue, 24 Apr 2007 19:05:51 +0200 |
On 4/24/07, Dmitry Antipov <address@hidden> wrote:
probably I've missed something, but what's the reason(s) to have a lot of "" (zero-length) strings ? Why not uniq them into the only one ?
With your patch, (eq "" "") => t So: ELISP> (eq (substring "ab" 0) (substring "ab" 0)) nil ELISP> (eq (substring "ab" 1) (substring "ab" 1)) nil ELISP> (eq (substring "ab" 2) (substring "ab" 2)) t That doesn't seem a nice behaviour. Juanma
[Prev in Thread] | Current Thread | [Next in Thread] |