1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00
Volker Lendecke 4a35c974e9 Only copy sharename up from rap_to_pjobid
Why?? :-)

Another one of the little micro-optimizations that I just came across: If you
allocate a variable in a sub-block like the "fstring sharename" in
write_file(), gcc even with -O3 will allocate this variable unconditionally on
the stack at the beginning of the routine. So with eliminating this fstring we
cut 256 bytes of stack in a very hot code path writing to a file. It might make
us a bit more cache-friendly.

This would probably not be worth a second look if it involved larger code
changes, but this one was just too simple to let it pass :-)
2009-03-01 12:27:55 +01:00
..
2009-02-10 21:55:13 +01:00
2008-10-13 20:59:33 +02:00
2009-02-14 11:42:05 +01:00
2009-02-19 20:58:26 -08:00
2009-02-19 20:58:26 -08:00
2009-02-19 20:58:26 -08:00
2009-02-23 16:22:43 -08:00
2009-02-23 16:22:43 -08:00
2007-12-18 09:56:04 +01:00