Re: [Vala] Fwd: Why is Vala 10 times slower than C ?
- From: Serge Hulne <serge hulne gmail com>
- To: Emmanuel Pacaud <emmanuel gnome org>
- Cc: "???????????????? "@menubar.gnome.org, vala-list gnome org
- Subject: Re: [Vala] Fwd: Why is Vala 10 times slower than C ?
- Date: Mon, 6 Jun 2011 17:02:43 +0200
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]