Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishnan Sanjay
/
cmsc13600-public
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
14915a38
authored
May 21, 2020
by
Krishnan Sanjay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ooc.py
parent
cf6d9f48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
hw5/ooc.py
hw5/ooc.py
View file @
14915a38
...
...
@@ -59,14 +59,14 @@ class MemoryLimitedHashMap(object):
def
keys
(
self
):
'''
Returns a set of keys. Tuple
Returns a set of keys
(in memory)
. Tuple
is (key, location)
'''
return
set
([
k
for
k
in
self
.
_data
])
def
f
Keys
(
self
):
def
f
lushed
(
self
):
'''
Returns a set over keys that have been flushed.
Tuple is (key, location)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment