[PATCH] find: First simple implementation and tests
Alexandre Julliard
julliard at winehq.org
Wed Jul 4 02:46:49 CDT 2018
Fabian Maurer <dark.shadow4 at web.de> writes:
>> This doesn't scale, and it's going to go badly if some app passes a lot
>
>> of data. If it's really hard to process the entire input, then reading
>
>> only a few bytes would be better that reading everything.
>
> I know, there's still a lot missing. But shouldn't we first have a
> working implementation and then care about scalability?
If by "working implementation" you mean reading only the first line, you
can simply read data into a static buffer or something like that. It's
not necessary to add code to read the entire file, since that code will
basically have to be removed in the next step.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list