francinette icon indicating copy to clipboard operation
francinette copied to clipboard

get next line: gives time out. but when i test my get_next_line with same file and parameters i get correct result directly.

Open samjaabo opened this issue 1 year ago • 2 comments

samjaabo avatar Nov 08 '22 12:11 samjaabo

It times out because of the numbers of allocations that are made (I run some extra code for each malloc so it sums up to a lot of extra code that is executed)

I'll be changing the tests in the future to not be that demanding.

xicodomingues avatar Nov 10 '22 13:11 xicodomingues

It times out because of the numbers of allocations that are made (I run some extra code for each malloc so it sums up to a lot of extra code that is executed)

I'll be changing the tests in the future to not be that demanding.

Please don't forget to fix the problem. Students evaluate other students based only on your tests xD

Steven-L-42 avatar Jan 28 '24 11:01 Steven-L-42