Home All Groups Group Topic Archive Search About

VB.NET Express speed issue

Author
16 Aug 2006 4:20 PM
Ali Chambers
Hi,

I've written a programme that processes stock market price data in
VB.NET 2005 Express. I've optimised the code as much as possible, eg:-
using arrays, not passing parameters to functions, etc...


The code is slow because it is processing large amounts of data many
many times.


However, is there a way to compile the code to other formats to make it

run faster? I've heard of C++ (too difficult for me).


Does the Full Paid Version of VB.NET run code faster than the express
version?


Many thanks,
Alex

Author
16 Aug 2006 5:11 PM
Greg Young
My guess is that you have algorithmic problems ...

A move to say C/C++ you should only really expect a 10-15% gain providing
you are comparing apples to apples for most algorithms.

Have you tried profiling the application to see where the time is being
spent?

btw I know this is possible as I have a real time monitor done in C#
(processes orderbook data (not just price data) for a large exchange in real
time)

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung

Show quote
"Ali Chambers" <i***@alexchambers.co.uk> wrote in message
news:1155745207.743370.317070@m79g2000cwm.googlegroups.com...
> Hi,
>
> I've written a programme that processes stock market price data in
> VB.NET 2005 Express. I've optimised the code as much as possible, eg:-
> using arrays, not passing parameters to functions, etc...
>
>
> The code is slow because it is processing large amounts of data many
> many times.
>
>
> However, is there a way to compile the code to other formats to make it
>
> run faster? I've heard of C++ (too difficult for me).
>
>
> Does the Full Paid Version of VB.NET run code faster than the express
> version?
>
>
> Many thanks,
> Alex
>

AddThis Social Bookmark Button