Better HN
topnewbestaskshowjobs
Log inSign up

julien-j

20 karma · joined Sep 26, 2016 (10y ago) · 6 submissions

Submissions

1.

Effortless Performance Improvements in C++: std:string_view(julien.jorge.st ↗)

1 points · by julien-j · 3y ago · discuss

comment 3y ago · link · parent

This is a solution presented in the post :)

comment 3y ago · link · parent

Can you expand on the technically incorrect statements part? If I can fix the post I would love to do it :)

comment 3y ago · link · parent

You have a lot of good points that will indeed be addressed in the next posts :)

The operations on the strings are subtly expensive and I was expecting to see them above the accesses to the maps in the perf report. Now they were not and I address the problems in the order of this report, so we will have to wait a bit to discuss them. The intent is also to unroll a scenario of optimization for the reader: measure to get insight, try something, measure again, decide.

If you have the time and the motivation I would love to see a fast but not super optimized version of this program. I tried to keep using the standard library and not going into cryptic code (i.e. trying to keep the code clear for an average programmer), and I stopped when the performance gain became very small, but I am pretty sure we can get better performance if we push further.

5.

Comparing Memory Sanitizers(julienjorge.medium.com ↗)

2 points · by julien-j · 4y ago · discuss

6.

Benchmarking Atoui(): A Follow-Up to Writing Fast Code(medium.com ↗)

2 points · by julien-j · 10y ago · discuss