bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#6996: `byte-compile-report-ops', `byte-code-meter', `byte-metering-o


From: Glenn Morris
Subject: bug#6996: `byte-compile-report-ops', `byte-code-meter', `byte-metering-on', what are they?
Date: Tue, 7 Sep 2010 19:29:06 -0400

MON KEY wrote (on Tue, 7 Sep 2010 at 17:33 -0400):

> `byte-compile-report-ops', `byte-code-meter', `byte-metering-on', what are 
> they?
> 
> Following files:
>  src/bytecode.c
>  lisp/emacs-lisp/bytecomp.el
> 
> define the variables `byte-code-meter', `byte-metering-on' and a function
> `byte-compile-report-ops'.

>From src/bytecode.c:

#ifdef BYTE_CODE_METER
  DEFVAR_LISP ("byte-code-meter", &Vbyte_code_meter,...
...
#endif

In the comments in the same file:

  define BYTE_CODE_METER to enable generation of a byte-op usage
  histogram.

So if you are interested, why not define it, re-build and see what
happens?

I have no idea what it does, but since it is not on by default since
1991, and is not documented anywhere, I don't see it as a bug if it
doesn't do whatever it is supposed to do. At the worst it is dead code
that could be deleted.





reply via email to

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