Metadata-Version: 2.1
Name: list_reserve
Version: 0.0.0
Summary: Python builtin list memory allocation library
Home-page: https://github.com/ChanTsune/list_reserve
Author: ChanTsune
Author-email: yshegou@gmail.com
License: MIT
Description: # list-reserve
        
        Python builtin list memory allocation library.  
        
        [![Build Status](https://travis-ci.org/ChanTsune/list-reserve.svg?branch=master)](https://travis-ci.org/ChanTsune/list-reserve)  
        
        ## Getting it
        
        ```bash
        pip install list_reserve
        ```
        
        ### capacity
        
        Return allocated list memory size.
        
        ```py
        from list_reserve import capacity
        
        l = [1, 2, 3]
        print(capacity(l)) # 3
        ```
        
        ### reserve
        
        Reserve list memory.
        
        ```py
        from list_reserve import reserve, capacity
        
        l = []
        reserve(l, 10)
        
        print(len(l)) # 0
        
        print(capacity(l)) # 10
        ```
        
Keywords: list extension memory reserve capacity
Platform: UNKNOWN
Description-Content-Type: text/markdown
