1
XDRX-API / Re: [XDrX-PlugIn(165)] Use a hash table to quickly delete completely overlapping ent
« Last post by xdcad on May 25, 2024, 10:30:12 AM »Efficiency test, 510 entities, including 505 duplicate entities
Hash table efficiency far exceeds overkill
===============================
Command: tt
Select objects: Specify opposite corner: 510 found
Select objects:
===============================
Command: (tt1)
CPU:(1x)Intel(R) Xeon(R) E3-1575M v5 @ 3.00GHz 4Cores / Memory:64G / OS: WIN10 professional workstation version
Benchmarking ......
Current settings: Tolerance=0.000001, Ignore=None, Optimize polylines=Yes, Combine partial overlap=Yes, Combine end-to-end=Yes
505 duplicate(s) deleted
0 overlapping object(s) or segment(s) deleted. done for 16 iterations. Sorted from fastest.
Statement Increment Time(ms) Normalize Relative
-------------------------------------------------------------------------------
(xdrx-entity-removeduplic...) 16 1078 1078 28.07 <fastest>
(COMMAND ._-overkill SS ) 1 1891 30256 1.00 <slowest>
-------------------------------------------------------------------------------
Hash table efficiency far exceeds overkill
===============================
Command: tt
Select objects: Specify opposite corner: 510 found
Select objects:
===============================
Command: (tt1)
CPU:(1x)Intel(R) Xeon(R) E3-1575M v5 @ 3.00GHz 4Cores / Memory:64G / OS: WIN10 professional workstation version
Benchmarking ......
Current settings: Tolerance=0.000001, Ignore=None, Optimize polylines=Yes, Combine partial overlap=Yes, Combine end-to-end=Yes
505 duplicate(s) deleted
0 overlapping object(s) or segment(s) deleted. done for 16 iterations. Sorted from fastest.
Statement Increment Time(ms) Normalize Relative
-------------------------------------------------------------------------------
(xdrx-entity-removeduplic...) 16 1078 1078 28.07 <fastest>
(COMMAND ._-overkill SS ) 1 1891 30256 1.00 <slowest>
-------------------------------------------------------------------------------
Code - Auto/Visual Lisp: [Select]