Skip to content
Prev 1544 / 15274 Next

zoo-like classes in c++?

Jordi,

I've been doing some work with big text files (50+mb) recently and I
thought that I could only do the work in for() loops etc... I was ok
up to a certain size then my machine just couldn't take it ran out of
memory and I had to rework my algorithm - staying in R - I work in a
corporate environment where making changes to my desktop is something
that takes weeks and I just didn't have that time on the project...
Eventually I figured out how to vectorise the calculations and on a
small file what took minutes reduced to instantaneous, and from what
was impossible took a mere 10 seconds once vectorised...

Are you really sure that it is really impossible to vectorise this?

cheers,
Sean
On 31/07/07, Jordi Molins <jordi.molins.coronado at gmail.com> wrote: