ole32: Don't allocate an initial table for bind contexts.

Robert Shearman rob at codeweavers.com
Tue Mar 13 07:38:03 CDT 2007


Most users of bind contexts don't use bound objects or object params, so 
don't create an initial table. Instead, create it on demand and use an 
exponential algorithm for increasing the size of the table when full.
---
  dlls/ole32/bindctx.c |   80 
++++++++++++++++++++++++++-----------------------
  1 files changed, 42 insertions(+), 38 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4ccf1b50ba986ca0225a45f0a94c671e640eefa5.diff
Type: text/x-patch
Size: 4839 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070313/a12e262d/4ccf1b50ba986ca0225a45f0a94c671e640eefa5.bin


More information about the wine-patches mailing list