Skip to content

Commit

Permalink
This PR changes SoilBasicSerializer to not use a OrderedCollection to…
Browse files Browse the repository at this point in the history
… store the already seen objects, but instead a SoilObjectTable.

The SoilObjectTable uses an IdentityDictionary. Checking of we have seen an object already is much faster.

fixes #312
  • Loading branch information
MarcusDenker committed Oct 12, 2023
1 parent e2982b4 commit 9c04237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Soil-Serializer/SoilBasicSerializer.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SoilBasicSerializer >> basicNextPutSymbol: aSymbol [
{ #category : #initialization }
SoilBasicSerializer >> initialize [
super initialize.
objectIdTable := OrderedCollection new
objectIdTable := SoilObjectTable new
]

{ #category : #'writing - basic' }
Expand Down

0 comments on commit 9c04237

Please sign in to comment.