Advertisement

Win2k problem, why delete pointer so slow?

Started by May 11, 2001 11:24 PM
1 comment, last by Benjamin 23 years, 8 months ago
Is deleting complicate class structure very slow under Win2k? I have an array of a linked list, let''s call it type A list, and each node of type A list have 6 other type B linked list which just contain some binary data in the node. And also some algorithm for insert data. The array is dynamically created and about 500000 in size for test; when I initialize them, it take about 8 second to input all the data, but when I delete them, it take me 50 second. I also try it under WinMe and Win98, both only take about 1 sec to destruct the structure. Is it another bug of Win2k?
Ben
Is it a debug build? I''ve never had this problem in Win2K, but I know that debug builds stuff a bunch of useless code into the delete calls.

Resist Windows XP''s Invasive Production Activation Technology!
http://druidgames.cjb.net/
Advertisement
No, even the release version has the same problem. And I have try it on several machine with Win2k. It give the same result.
Ben

This topic is closed to new replies.

Advertisement