define hashed array elements



If you can tolerate offsetting the indexing by one,
p4:[E,0,0,p]

is probably faster.