[Proj] pj_transform performance issue

Greg Troxel gdt at ir.bbn.com
Mon Nov 12 07:29:43 PST 2007


  Now, if I pass the coordiantes of my intermediate function, by address
  instead of by values,
  int trans(projPJ pj_in, projPJ pj_out, double *x, double *y)
  {
  pj_transform(pj_in, pj_out, 1, 0, x, y, 0);
  return(0);
  }
  We get the result in 6 seconds again.

Such a high time difference doesn't make sense.  I think you need to
read the assembly language that the compiler is generating.  If you are
using gcc, use -S on the compilation line to have it leave the .s.




More information about the Proj mailing list