Skip to content

Instantly share code, notes, and snippets.

View Ravisiswaliya's full-sized avatar

Ravi Siswaliya Ravisiswaliya

  • Tirolabs
  • New Delhi
View GitHub Profile
import numpy as np
import time
import sys
'''
#here I'm comparing memory occupied by both
#menory occupied by list
s = range(1000)
print('memory occupied by List',sys.getsizeof(5)*len(s))
#menory occupied by numpy