-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[WIP] Array-based List type #2154
base: fable3
Are you sure you want to change the base?
Conversation
ncave
commented
Sep 9, 2020
•
edited
Loading
edited
- Faster than F# linked list, when micro-benchmarked.
- Overall, still slower in larger tests (FCS-JS) than using JS linked list.
Rebased from #2156. |
This is still marked as WIP, so you want to merge it? |
@alfonsogarciacaro It's ready, but it does result in about 10% perf impact, so further optimizations are needed. We can keep it on the back-burner for now. |
54b3257
to
8b6c529
Compare
e134310
to
bf476bc
Compare
bcea005
to
0e809d3
Compare
c9a6aa2
to
849fe9a
Compare
4a2924a
to
300c888
Compare
Do you think it would help if we allocated a few slots in advance and increase it as we add more elements? (I think System.Generic.Collections.List does this, although maybe the JS engine does the same internally) |
3316418
to
9f6ae2a
Compare
2358f11
to
74a47b7
Compare
73f5e45
to
cad4cea
Compare
69802d1
to
9e80a55
Compare
bd63a98
to
1895f4d
Compare
1527047
to
a69e20d
Compare
87e6a8c
to
b627427
Compare