Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: Release 1.4
-
Fix Version/s: Release 1.5
-
Component/s: None
-
Labels:None
-
Patch:Code and Test
-
Approval:Ok
Description
See description here http://dev.clojure.org/display/design/Allow+duplicate+map+keys+and+set+elements
Attachments
Activity
Andy Fingerhut
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | clj-1065-set-map-constructors-allow-duplicates-v1.txt [ 11485 ] |
Rich Hickey
made changes -
| Approval | Vetted [ 10003 ] | |
| Fix Version/s | Release 1.5 [ 10150 ] |
Andy Fingerhut
made changes -
| Attachment | clj-1065-set-map-constructors-allow-duplicates-v2.txt [ 11487 ] |
Andy Fingerhut
made changes -
| Attachment | clj-1065-set-map-constructors-allow-duplicates-v1.txt [ 11485 ] |
Andy Fingerhut
made changes -
| Attachment | clj-1065-do-map-constant-duplicate-key-checks-compile-time-only-v1.txt [ 11488 ] |
Andy Fingerhut
made changes -
| Patch | Code and Test [ 10002 ] |
Stuart Halloway
made changes -
| Approval | Vetted [ 10003 ] | Screened [ 10004 ] |
Rich Hickey
made changes -
| Approval | Screened [ 10004 ] | Ok [ 10007 ] |
Stuart Halloway
made changes -
| Resolution | Completed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |
I think that clj-1065-set-map-constructors-allow-duplicates-v1.txt dated Sep 7 2012 updates Clojure for the behavior Rich recommends on the dev Wiki page in the description. I may have missed something, though. Perhaps the most questionable part is the way I've chosen to implement array-map always taking the last key's value. It is no less efficient than the PersistentArrayMap createWithCheck method, i.e. O(n^2).