yes, this is possible, you could hash the class reference pointer into the array, it would not be that hard you just cannot access "inherited virtual fields" this way