Revert "stdlib: Stop incurring vtable dispatch costs when hashmaps are used"
This reverts commit f0250a23d3
.
This commit is contained in:
parent
f0250a23d3
commit
c245d9e980
49 changed files with 47 additions and 95 deletions
|
@ -5,7 +5,6 @@ import result::{ok, err};
|
|||
import io;
|
||||
import io::{reader_util, writer_util};
|
||||
import map;
|
||||
import map::hashmap;
|
||||
|
||||
export json;
|
||||
export error;
|
||||
|
@ -37,7 +36,7 @@ enum json {
|
|||
/* Variant: list */
|
||||
list([json]),
|
||||
/* Variant: dict */
|
||||
dict(map::hashmap<str,json>),
|
||||
dict(map::map<str,json>),
|
||||
/* Variant: null */
|
||||
null,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue