Emil Velikov <emil.l.veli...@gmail.com> writes: > Looping around LoadExtension() meant that ExtensionModuleList was reallocated > on every extension. Using LoadExtensionList() we pass an array thus the > function can do the reallocation in one go, and then loop and setup the > ExtensionModuleList.
Nice clean up; the realloc cost isn't that important, but getting rid of identical loops in a bunch of places is definitely an improvement. Reviewed-by: Keith Packard <kei...@keithp.com> -- keith.pack...@intel.com
pgpiDd3cCNFGt.pgp
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel