* Do not take and release the structure lock for each element of the list while
authorClément Stenac <zorglub@videolan.org>
Sun, 10 Dec 2006 14:00:54 +0000 (14:00 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 10 Dec 2006 14:00:54 +0000 (14:00 +0000)
commit496a54201d383dc056767a10b79e2a0354512e53
treec494250df4d6d7e5b68976aa3821a00b1de81d79
parentdbcaeb30c2a9ec5ab42c7a708d873b8e9a2228de
* Do not take and release the structure lock for each element of the list while
  releasing it. mutex locks /= 20 on a standard preparse run
* Only create absolutely necessary variables while preparsing
--> Preparse speed *= 4 (with item in disk cache of course)

* Do not rebuild playlist too much while adding a directory. Add a new flag
  to NodeCreate and Add to control this behaviour
19 files changed:
include/vlc/vlc.h
include/vlc_playlist.h
modules/access/directory.c
modules/gui/macosx/playlist.m
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/services_discovery/bonjour.c
modules/services_discovery/podcast.c
modules/services_discovery/sap.c
modules/services_discovery/upnp_cc.cpp
modules/services_discovery/upnp_intel.cpp
src/input/es_out.c
src/input/input.c
src/input/var.c
src/libvlc-common.c
src/misc/objects.c
src/playlist/engine.c
src/playlist/item.c
src/playlist/playlist_internal.h
src/playlist/tree.c