GC types that don't have pointers should be skipped completely. The current walker implementation marks then as Next. However just returning Endis not enough since the garbage collector will still walk over all array entries. Instead a new return code should be added that signifies that the type will never contain pointers and that array walking should be halted. This e.g. applies to strings.
GC types that don't have pointers should be skipped completely. The current walker implementation marks then as
Next
. However just returningEnd
is not enough since the garbage collector will still walk over all array entries. Instead a new return code should be added that signifies that the type will never contain pointers and that array walking should be halted. This e.g. applies to strings.