DEV Community

Discussion on: Linear and Binary Search in JavaScript

Collapse
 
bladefidz profile image
Hafidz Jazuli Luthfi

Hi, Stephanie...

I think, you may interested with this one. One year ago, when I want to understand C, I decided to do a very naive experiment to compare some classical sort algorithms. If you interested, you can read it at here.

It is very naive by the way, but if you have better idea how do similar experiments, that would be great.

Collapse
 
stephjs profile image
Steph

Hey Hafidz,

Cool! I'll give it a read. :) Was this a paper you wrote for school?

Collapse
 
bladefidz profile image
Hafidz Jazuli Luthfi • Edited

Thank you...

It just bonus assignment since a lecturer who teach algorithm course found that few of her student bored with the course (I think).

A mouth ago, I just realize that this empirical approach very useful in parallel programming. That's Gustavson Law that suggest us to use latency as benchmark.