Commit Graph

11 Commits

Author SHA1 Message Date
Liam Fitzgerald
87b6be7d2b
Merge remote-tracking branch 'origin/release/next-js' into lf/keybinds 2021-05-10 15:54:47 +10:00
Liam Fitzgerald
5fe3874b20
BigIntOrderedMap: fix caching, again 2021-05-06 12:48:36 +10:00
Liam Fitzgerald
5851eaa511
BigIntOrderedMap: fix caching 2021-05-06 11:09:01 +10:00
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
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