GC isn't necessarily higher cost than not doing GC. garbage collectors are allowed to free objects when they want to which can be significantly faster than freeing in an arbitrary order as happens with manual memory management.
is there a typo: X can use tricks to avoid X ?