Exercism Walkthrough - Elixir Lang - Parallel Letter Frequency

  Рет қаралды 1,146

Percy Grunwald from TopTechSkills

Percy Grunwald from TopTechSkills

Күн бұрын

Пікірлер: 8
@lgg5268
@lgg5268 3 жыл бұрын
Great explanation. Really enjoyed that one. The Benchmark was my favourite part.
@toptechskills
@toptechskills 3 жыл бұрын
Thanks for the comment LGG, appreciate the positive feedback 🙏
@RogerioPontual
@RogerioPontual 5 жыл бұрын
Hello Percy, I liked a lot your video. Inspiring! Could you share please your setup on Visual Code to searching on Elixir docs?
@toptechskills
@toptechskills 5 жыл бұрын
Hi Rogerio, thank you for your kind comment. To search Elixir docs I'm using a combination of: - Alfred (www.alfredapp.com/) - Dash (kapeli.com/dash) - Dash workflow for Alfred (github.com/Kapeli/Dash-Alfred-Workflow) You will need the paid versions of Dash and Alfred, but it's well worth it, since pulling up docs is extremely quick and easy as you see in the video. Unfortunately this setup will only work on Mac OS, so if you're running Linux or Windows, you will need to find another way. Hope this helps, let me know if you have any trouble getting set up.
@RogerioPontual
@RogerioPontual 5 жыл бұрын
​@@toptechskills Thank you Percy for all the details! Currently I'm using Linux but it was good to know these projects. All the best
@chrissphinx
@chrissphinx 5 жыл бұрын
I wonder if the merging of the maps is a bottleneck for the program. Do you think benchmarks would be more favorable if ETS was being used instead of merging all resulting maps in a single process?
@toptechskills
@toptechskills 5 жыл бұрын
Hi Chris, thanks a lot for your comment. I tried out your suggestion of using an ETS table and it has improved the performance slightly (~5%). I'm not sure that the merging of the maps is as big a bottleneck as you suspect, since even with ETS you still need to convert the list representation of the table into a map. The biggest improvement I have seen for performance was to avoid merging all the texts and splitting them into graphemes, but rather splitting the texts at a certain number of characters and recursively iterating through them with String.next_grapheme/1. This improvement was suggested by a very advanced Elixir developer and is pretty advanced code, so I didn't think it was suitable for the video. Let me know if you want more details about either implementation. Thanks again for your suggestion!
@chrissphinx
@chrissphinx 5 жыл бұрын
@@toptechskills very interesting, thank you for the reply!
Tired of Repetitive Tasks? Learn the Magic of Ansible Handlers
13:56
Percy Grunwald from TopTechSkills
Рет қаралды 913
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
Exercism Walkthrough - Elixir Lang - Tournament Problem
42:04
Percy Grunwald from TopTechSkills
Рет қаралды 1,1 М.
Rust Functions Are Weird (But Be Glad)
19:52
Logan Smith
Рет қаралды 156 М.
Functional Programming in 40 Minutes • Russ Olsen • GOTO 2018
41:35
GOTO Conferences
Рет қаралды 822 М.
Как устроен QR-код? [Veritasium]
33:28
Vert Dider
Рет қаралды 814 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Ansible Apt Module Tutorial - Complete Beginner's Guide
12:01
Percy Grunwald from TopTechSkills
Рет қаралды 6 М.
Exercism Walkthrough - Elixir Lang - Grade School
23:29
Percy Grunwald from TopTechSkills
Рет қаралды 524
Constructors Are Broken
18:16
Logan Smith
Рет қаралды 124 М.