<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16700"></HEAD>
<BODY>
<DIV><SPAN class=684412717-04012011><FONT size=2 face=Arial>I have a simple
program using vectors of inexact numbers.</FONT></SPAN></DIV>
<DIV><SPAN class=684412717-04012011><FONT size=2 face=Arial>Half the time goes
to garbage collection.</FONT></SPAN></DIV>
<DIV><SPAN class=684412717-04012011><FONT size=2 face=Arial>I suppose that's
because vectors effectively are internally arrays of pointers to the
numbers.</FONT></SPAN></DIV>
<DIV><SPAN class=684412717-04012011><FONT size=2 face=Arial>So reassigning an
element to a vector may leave garbage.</FONT></SPAN></DIV>
<DIV><SPAN class=684412717-04012011><FONT size=2 face=Arial>Do unsafe floating
point vectors and operations use arrays without intermediate
pointers?</FONT></SPAN></DIV>
<DIV><SPAN class=684412717-04012011><FONT size=2 face=Arial>If that is the case
I could speed up my program by a factor of 2.</FONT></SPAN></DIV>
<DIV><SPAN class=684412717-04012011><FONT size=2 face=Arial>But before trying
that I would appreciate advice.</FONT></SPAN></DIV>
<DIV><SPAN class=684412717-04012011><FONT size=2 face=Arial>Thanks,
Jos</FONT></SPAN></DIV></BODY></HTML>