Python: I want to use heapq.heapify(Arr) but everytime i want a slice of array to be used without creating new memory allocation for the new array . I want the rest of the array to be as is. example: heapq.heapify(arr[0:3]) and use rest of arr[3::] in some calculation and go on changing this slice width in a loop . Can I do it? I dont see arr being heapified in this case