[PATCH v9 2/3] shell32: Implement FolderItems_Item.

Alexandre Julliard julliard at winehq.org
Thu Aug 25 00:53:25 CDT 2016


Sebastian Lackner <sebastian at fds-team.de> writes:

> * You decided to use exponential growth for the filenames buffer which
> is better than allocating only one element at once. Nevertheless, it
> might still waste a lot of memory. I would suggest to use either
> linear growth or attempt to shrink the buffer size to release
> unnecessary space.

Exponential growth is almost always the right choice. That's even more
true in cases like this where you can release the unused space at the
end.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list