I found the reading time is long when loading the first iges file. My platform is Vista + VS2005 + C++ + Debug model.
I traced the code of IGESControl_Reader, and found the construction function of IGESControl_Reader is the bottleneck. And it's caused by "OSD_Host host;" in "IGESData::Init ()".
OSC_Host calls gethostbyname, it's a time-consuming function because it will load a lot of dlls. I wonder know since IGESData::Init donot call any API of "host" any more(conclusion after reading the code of "Init"), can we comment the code "OSD_Host host;"?