Last Comment Bug 433909 - Consider different BigO implementation in js/tests/shell.js
: Consider different BigO implementation in js/tests/shell.js
Status: RESOLVED WONTFIX
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86 Mac OS X
: -- minor (vote)
: ---
Assigned To: Jason Orendorff [:jorendorff]
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-15 10:39 PDT by Jason Orendorff [:jorendorff]
Modified: 2016-08-31 14:07 PDT (History)
2 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
v1 (3.91 KB, patch)
2008-05-15 13:37 PDT, Jason Orendorff [:jorendorff]
no flags Details | Diff | Splinter Review

Description Jason Orendorff [:jorendorff] 2008-05-15 10:39:48 PDT
The existing implementation is occasionally fooled by small numbers.  I have an alternate implementation that I'm trying out to see if it gets fooled less often.
Comment 1 Jason Orendorff [:jorendorff] 2008-05-15 13:37:37 PDT
Created attachment 321139 [details] [diff] [review]
v1
Comment 2 Bob Clary [:bc:] 2008-05-15 18:13:15 PDT
Interesting and simpler approach. I would like to try it out when I can, but I like it.
Comment 3 André Bargull 2016-08-31 14:07:29 PDT
The BigO function was removed from shell.js in https://hg.mozilla.org/mozilla-central/rev/d3ab52f7cf76

Note You need to log in before you can comment on or make changes to this bug.