Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SDA
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mehdi Naima
SDA
Commits
4fa006eb
Commit
4fa006eb
authored
4 years ago
by
Mehdi NAIMA
Browse files
Options
Downloads
Patches
Plain Diff
main pyhon
parent
a00b0f11
No related branches found
No related tags found
No related merge requests found
Pipeline
#939
failed with stage
in 5 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Python/main.py
+1
-1
1 addition, 1 deletion
Python/main.py
with
1 addition
and
1 deletion
Python/main.py
+
1
−
1
View file @
4fa006eb
...
...
@@ -21,7 +21,7 @@ __list_entry_size__ = 8
wasted_memory
=
sys
.
getsizeof
(
a
)
-
__list_header_size__
for
i
in
range
(
100
):
for
i
in
range
(
100
0000
):
previous_size
=
sys
.
getsizeof
(
a
)
before
=
time
.
time
()
a
.
append
(
i
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment