emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#24514: 24.5; Lispy backtraces


From: Clément Pit--Claudel
Subject: Re: bug#24514: 24.5; Lispy backtraces
Date: Sat, 3 Dec 2016 17:15:22 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 2016-12-01 21:24, Stefan Monnier wrote:
>> The discussion below seems to indicate that there's very little missing at
>> the Lisp level to be able to implement `backtrace' in Lisp; is that right?
> 
> Indeed, I think all the info needed is provided by backtrace-frame.

The C implementation of backtrace-frame seems to be linear in the index of the 
requested frame, so a Lisp implementation of backtrace would be quadratic in 
the depth of the stack trace.  Would a new function backtrace-frames that 
returns all frames at once be acceptable?

Clément

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]