An open API service indexing awesome lists of open source software.

https://github.com/hemanialaparthi/mutable-vs-immutable-analysis

how does the space overhead in RAM differ when appending elements to mutable collections using methods like .append() compared to using += in immutable structures?
https://github.com/hemanialaparthi/mutable-vs-immutable-analysis

algorithms-and-data-structures blog immutable mutable

Last synced: 14 days ago
JSON representation

how does the space overhead in RAM differ when appending elements to mutable collections using methods like .append() compared to using += in immutable structures?

Awesome Lists containing this project

README

          

# Mutable vs Immutable Analysis

## A Comparative Analysis of Mutable and Immutable Containers (Tuple, Nested-Tuple, List, Nested-List)

### Steps to Run the Program:

1. **Clone the Repository:**
First, clone the repository to your local machine using Git:
```bash
git clone git@github.com:hemanialaparthi/mutable-vs-immutable-analysis.git
````

2. Navigate to the Project Directory: Change to the project directory:

`cd` to directory:

```bash
cd mutable-vs-immutable-analysis
````

3. Run the Program: You can now run the program with the following command:

```bash
python main.py
````