Re: [Vala] Fwd: Why is Vala 10 times slower than C ?

On Mon, Jun 6, 2011 at 5:02 PM, Serge Hulne <serge hulne gmail com> wrote:
Hint: Luca already told you why the vala version is slower...


Luca said:
read_line() is not as cheap as a getline()
str.split() is not as cheap as strtok()

You can try and use strtok and fgets

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]