Jean-Marc Lasgouttes wrote: > It seems that nothing is happening on the snow leopard front. This is > something that has to be solved ASAP (1.6.4.2?)
definitely. Thanks for coming back to this. 1.6.4.2 would mean that we would have to patch the 1.6.4.1 sources. Branch is too far off (and would be 1.6.5). > The patch nofork.diff just disables forking altogether on Mac OS X. This > is definitely a bit rude. If somebody tells me how to determine the OS > version at runtime, I can update the patch. I'd appreciate if somebody > could try this patch out. > > The bad part about disabling fork(), as Vincent pointed out, is that > there is a noticeable delay at each autosave. I took my profiler and > determined that, on linux, this delay is due the the call to to_utf8 > which is done for each character. The following patch buffers plain > characters into strings and yield a nice speedup. Some Shark profiles on > Mac OS X could be useful too. The way I tested was > 1/ load user guide > 2/ M-x to open minibuffer > 3/ run command > repeat 60 command-sequence self-insert a ; undo ; buffer-write How "risky" is this? I'd take it that for 1.6.4.2, the delay would be bearable, if we aim to fix the problem properly in 1.6.5. Having said that, testing is mandatory anyway. Jürgen