일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Python Code
- DWG
- iterator
- 715. Range Module
- Convert Sorted List to Binary Search Tree
- t1
- 파이썬
- Python Implementation
- data science
- attribute
- 43. Multiply Strings
- 밴픽
- Regular Expression
- 운영체제
- LeetCode
- Decorator
- Python
- 315. Count of Smaller Numbers After Self
- 109. Convert Sorted List to Binary Search Tree
- 컴퓨터의 구조
- kaggle
- 시바견
- Generator
- Substring with Concatenation of All Words
- Protocol
- shiba
- concurrency
- Class
- 프로그래머스
- 30. Substring with Concatenation of All Words
Archives
- Today
- Total
목록memoryview (1)
Scribbling
Python: Memoryview function
Python memoryview function returns memory view objects. So why use it? Memory view is a safe way to expose 'buffer protocol' in python. Buffer protocol allows an object to expose its inner data without copying. As buffer protocol is only available at the C-API level, memoryview is present to expose the same protocol at Python level. Example1: how memoryview works arr = bytearray('XYZ', 'utf-8') ..
Computer Science/Python
2022. 3. 23. 11:51