Skip to content

Commit

Permalink
some readme clearance
Browse files Browse the repository at this point in the history
  • Loading branch information
ikod committed Aug 25, 2020
1 parent c4ca485 commit f42eb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## HashMap ##

Main differences from language AA:
1. HashMap is value(not reference), so any `assign` copy all data. If you need performance - use reference or pointer.
1. HashMap itself is value(not reference), so any `assign` from one map to another copy all data. If you need performance - use reference or pointer.
1. HashMap have no "in" operator.
1. Any `get` get method returns value stored in table, and never - pointer. This is safe. AA can return pointer as it allocates on each insertion.

Expand Down

0 comments on commit f42eb45

Please sign in to comment.