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



Hint: Luca already told you why the vala version is slower...

       Emmanuel.




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

In other words : text processing in *pure Vala* is a lot slower than
in C (or C++ for that matter)

Consequently :
Vala does not appear to be suited for heavy text processing tasks such
as NLP : natural language processing.
(unless there is an essential part of the concept of Vala that eludes me)


Serge.



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