>>>> "Jerry" == Jerry James
<james(a)eecs.ku.edu> writes:
Jerry> I haven't yet been bugged enough to try tracking down the
Jerry> problem. If there is anything you want me to try, let me
Jerry> know.
I'd be interested in relative execution profiles (21.1 v. 21.4,
loading and locking a big slow file v. just starting) for the
following C functions (all from extent.c, I believe):
Fget_char_property
Fnext_extent_change
Fprevious_extent_change
These are the potentially heavyweight function calls added by Matt's
syntax table stuff in syntax.c, scan_lists, which is where the Lisp
profiler says time is going. They get called from the function
update_syntax_cache as needed. update_syntax_cache gets called once
per character in the region scanned AFAICT, so the question is "how
often is `as needed'?" Number of additional calls is the main thing,
some estimate of time per call would be interesting too, but it's not
primary.
Sorry, I know nothing about profiling C yet, I guess it's time to
learn.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Don't ask how you can "do" free software business;
ask what your business can "do for" free software.