Commit Graph

6 Commits

Author SHA1 Message Date
Liam Fitzgerald
eb8d9b3f60
BigIntOrderedMap: remove lodash dependency 2021-04-21 16:39:35 +10:00
Liam Fitzgerald
ec7c456b19
interface: mark bigintorderedmap as immerable 2021-04-20 18:39:56 +10:00
Liam Fitzgerald
fc955ab83e
interface: new BigIntOrderedMap
New ordered map implementation that is faster and more space
efficient. Stores the map and keys as a flat POJO, sorting them upon
iteration. The sorting cost is only typically paid once per render
however as the sorted array is cached until the map is mutated. This
implementation appears to play nicer with immer's structural sharing,
reducing the incidence of 'props are equal by value, but not by
reference'.
2021-04-20 13:31:57 +10:00
Liam Fitzgerald
c398b2c0e4
interface: mark BigIntOrderedMap compat with immer
Fixes urbit/landscape#707
Fixes urbit/landscape#740
2021-04-06 08:28:53 +10:00
Liam Fitzgerald
14da6b9bd1
npm: make packages typecheck 2021-02-17 12:35:28 +10:00
Tyler Brown Cifu Shuster
41ebbcc82f added NPM packages 2021-01-26 21:45:18 -08:00