Open emiwar opened 1 year ago
Idea: store segs in the device cache as views of an array that is big enough to fit any seg. Then, when loading a new seg, just overwrite the array and then change the view to fit the new. This should avoid any garbage collector issues.
Idea: store segs in the device cache as views of an array that is big enough to fit any seg. Then, when loading a new seg, just overwrite the array and then change the view to fit the new. This should avoid any garbage collector issues.