I am currently doing some research on an algorithm that may (or may not) end up being slower than other similar algorithms. The idea behind it seems solid although it will probably not be as fast as other, already known and used solutions. Finishing and testing is of course part of the science, so the research will get carried out nevertheless.
So here is my question: is writing an article about conducted, but failed work a good thing?
My thoughts are that publishing such an article would help people conducting similar research, who would otherwise waste their own time, trying to do the same thing. Saving their time is crucial for the scientific community in my personal opinion, but I am unsure how others perceive the same problem and I do not want others to have negative opinion about my work.
There are many similar questions on this site, but none seem to duplicate this exact one. This question, for instance, covers confirming or denying others research carried out and described elsewhere, while I am talking strictly about inventing and disproving the idea myself. Many other talk about the rationale behind not posting negative results, but that's also a slightly different subject (although undoubtedly related).