Commit Graph

11 Commits

Author SHA1 Message Date
Liam Fitzgerald
effa7471a4
BigIntOrderedMap: faster 2021-05-05 13:47:27 +10:00
Liam Fitzgerald
c1f055d46e
interface: make BigIntOrderedMap immutable 2021-04-26 16:59:38 +10:00
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
Tyler Brown Cifu Shuster
d7bbf3b54b api: brought to parity with livenet 2021-02-24 19:54:00 -08:00
Liam Fitzgerald
14da6b9bd1
npm: make packages typecheck 2021-02-17 12:35:28 +10:00
Liam Fitzgerald
ad035b54f1
urbit/api: bring inline with current userspace 2021-02-17 12:23:49 +10:00
Tyler Brown Cifu Shuster
8362f22cd7 interface: updated npm packages 2021-02-14 14:15:43 -08:00
Tyler Brown Cifu Shuster
41ebbcc82f added NPM packages 2021-01-26 21:45:18 -08:00