I want to hold data from structures in another array, modify the external
structures so that the array still refelects the changes: I’ve done as
shown underneath but am i storing a ‘reference’ in the c/c++sense or am I
duplicating data in the ‘stuff’ object? I dont wont to excessive memory
usage.
def main
stuff=Hash::new()
a1=[‘a’,‘b’,‘c’]
b1=[‘a’,‘d’,‘f’]
ll=nil
I want to hold data from structures in another array, modify the external
structures so that the array still refelects the changes: I’ve done as
shown underneath but am i storing a ‘reference’ in the c/c++sense or am I
duplicating data in the ‘stuff’ object? I dont wont to excessive memory
usage.
def main
stuff=Hash::new()
a1=[‘a’,‘b’,‘c’]
b1=[‘a’,‘d’,‘f’]
ll=nil
I want to hold data from structures in another array, modify the external
structures so that the array still refelects the changes: I’ve done as
shown underneath but am i storing a ‘reference’ in the c/c++sense or am I
duplicating data in the ‘stuff’ object? I dont wont to excessive memory
usage.
def main
stuff=Hash::new()
a1=[‘a’,‘b’,‘c’]
b1=[‘a’,‘d’,‘f’]
ll=nil