Branch: refs/heads/master Home: https://github.com/geany/geany
Commit: d6fc1f74f13ef7f9ef516c45a9094942cddb66a6 https://github.com/geany/geany/commit/d6fc1f74f13ef7f9ef516c45a9094942cddb66... Author: Nick Treleaven nick.treleaven@btinternet.com Date: 2011-10-17 (Mon, 17 Oct 2011)
Changed paths: M src/stash.c
Log Message: ----------- Use GPtrArray and g_slice to allocate prefs.
This allows us to return StashPref pointers - before with GArray the address could change on future appends.
Commit: cf88abfe4d50038ab2bcfb16dd3a77674f58b735 https://github.com/geany/geany/commit/cf88abfe4d50038ab2bcfb16dd3a77674f58b7... Author: Nick Treleaven nick.treleaven@btinternet.com Date: 2011-10-17 (Mon, 17 Oct 2011)
Changed paths: M src/prefs.c M src/stash.c M src/stash.h
Log Message: ----------- Speed up & simplify stash tree display/update
Store a pointer to the stash pref for each row, so display/update is just O(n) instead of O(n^2) time.
This changes the order prefs are updated in, but this doesn't matter.
Compare: https://github.com/geany/geany/compare/dc9ba7d...cf88abf