msina_ertugrul

Results 16 comments of msina_ertugrul

can I use [inliner module](https://github.com/orf/inliner) to prevent a huge thread stack or should I use processes

Also, Can you assign the first job to me

Can we use [pointers in Python](https://realpython.com/pointers-in-python/) to prevent object copying for different processes if this works we don't need ray or shared memory

I am trying to use tox but I got bunch of errors ``` File "C:\Users\msert\AppData\Local\Temp\pip-build-env-25wrzqy8\overlay\lib\python3.10\site-packages\setuptools\_distutils\msvc9compiler.py", line 295, in raise DistutilsPlatformError("VC %0.1f is not supported by this module" % VERSION) distutils.errors.DistutilsPlatformError:...

#### Check for pointers ```python from multiprocessing import Process def multi(obj): print(id(obj[0])) if __name__ == '__main__': obj = (1,2,3) p1=Process(target=multi,args=(obj,)) p2=Process(target=multi,args=(obj,)) p1.start() p2.start() p1.join() p2.join() ``` ``` 140735097377576 140735097377576 ```...

I ran tox on my Linux laptop, and it succeded. I think it is about os incompatibility or something like that

```python print("0: " + str(getsizeof(table_format))) print("1: " + str(getsizeof(tuple(table_format.values()))) + "len: " + str(len(table_format.items()))) print("2: "+ str(getsizeof((tuple(table_format.values()),))) + "len: " + str(len(((table_format.items()),)))) ``` ``` 0: 40 1: 120 len: 10...

I checked important thing again: ```python print("sizeof: " + str(getsizeof(Animated.data))) ``` ``` sizeof: 1584 ``` [Animated.data](https://github.com/Musa-Sina-Ertugrul/QuestGame/blob/main/main/src/flyweights/animated.py) is from my game project that uploads game assets at compile time. We can't...