chore(library/init/data/rbmap/basic): use [specialize] instead of [inline]
`RBMap.insert` is not that small.
This commit is contained in:
parent
b6c4caf725
commit
626e8fb27f
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ def setBlack : RBNode α β → RBNode α β
|
|||
| (node _ l k v r) := node black l k v r
|
||||
| e := e
|
||||
|
||||
@[inline] def insert (t : RBNode α β) (k : α) (v : β k) : RBNode α β :=
|
||||
@[specialize] def insert (t : RBNode α β) (k : α) (v : β k) : RBNode α β :=
|
||||
if isRed t then setBlack (ins lt t k v)
|
||||
else ins lt t k v
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue