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?
- Host: GitHub
- URL: https://github.com/hemanialaparthi/mutable-vs-immutable-analysis
- Owner: hemanialaparthi
- Created: 2025-01-27T21:08:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-16T22:10:30.000Z (about 1 year ago)
- Last Synced: 2025-08-02T15:50:45.780Z (7 months ago)
- Topics: algorithms-and-data-structures, blog, immutable, mutable
- Language: Python
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
````