|
From: | Stefan Monnier |
Subject: | Re: [RFC] temporary Lisp_Strings |
Date: | Tue, 02 Sep 2014 10:00:15 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> I'm thinking about temporary Lisp_Strings on C stack (allocated with alloca). > Simple implementation (with no check whether it fits on stack) and a few use > cases attached. Among others, the question is: is there a way to make sure > that an address returned by alloca fits in Lisp_Object? Have you made some preliminary measurements (on microbenchmarks) to try and see how much speed up we might gain? Given the cost of strlen and parse_str_as_multibyte, I'd expect that the best-case benefit might turn out to be rather small. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |