Uwe Brauer <oub(a)mat.ucm.es> writes:
Thanks, I followed both advised now the profiling results start like
--8<------------------------schnipp------------------------->8---
Function Name Ticks/Total %Usage Calls GC-Usage/ Total
===========================================/===== ====== ===== ========/=======
(in garbage collection) 49/ 0 13.462
get-text-property 30/ 0 8.242 16616
next-single-property-change 30/ 0 8.242 13926
--8<------------------------schnapp------------------------->8---
And given your comment above I doubt that the change of
gc-cons-threshold had any effect.
The effect is that GC time dropped from 237 ticks to 49 ticks (a
five-fold speedup!) and from 39% to 13% of time. That is quite
decent.