Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issue with FLLarge FLLargeIdentityDictionary and FLLargeI… #294

Open
wants to merge 1 commit into
base: Pharo12
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
accessing
objectCount: aNumber
"FLLargeIdentityDictionary -> IdentityDictionary"
objectCount := aNumber.
objectsIndexes := FLLargeIdentityDictionary new.
substitutionIndexes := FLLargeIdentityDictionary new.
objectsIndexes := IdentityDictionary new.
substitutionIndexes := IdentityDictionary new.
indexStream := FLIndexStream on: stream digits: aNumber bytesCount
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
analyzing
newAnalyzingCollection
"Answer a collection for the objects that correspond to this cluster."

^ FLLargeIdentitySet new

"FLLargeIdentitySet -> IdentitySet"
^ IdentitySet new
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
accessing
references
^ references ifNil: [ references := FLLargeIdentityDictionary new ]
"FLLargeIdentityDictionary -> IdentityDictionary"
^ references ifNil: [ references := IdentityDictionary new ]
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
accessing
variableReferences
^ variableReferences ifNil: [ variableReferences := FLLargeIdentityDictionary new ]
"FLLargeIdentityDictionary -> IdentityDictionary"
^ variableReferences ifNil: [ variableReferences := IdentityDictionary new ]