[Vala] Vala text processing performance



On Mon, Jun 6, 2011 at 5:35 PM, Fabian Deutsch <fabian deutsch gmx de> wrote:
The attached code produces the following:

$ time wc shaks12.txt ; time ./vwc shaks12.txt
 124456  901325 5582655 shaks12.txt

real    0m0.144s
user    0m0.139s
sys     0m0.004s
lc = 124456. wc = 1293934

real    0m0.161s
user    0m0.157s
sys     0m0.003s

So a not so big difference. It really depends on how and what you code.

- fabian



Looks a lot more promising indeed !

With the code of this example ("C-style Vala") the performance is
indeed very close to the one of C code.

Thanks !
Serge



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